On Tue, 2023-10-24 at 15:21 +0200, Peter Boy wrote:
> Am 24.10.2023 um 14:39 schrieb Patrick O'Callaghan
> <pocallaghan(a)gmail.com>:
>
> I haven't used QEMU/KVM in a long time, and want to back up an
> existing
> VM to external storage. I can see the domain using virt-manager,
> but
> when I try to examine it using virt-ls (or other virt-* commands)
> I'm
> getting an error that the domain doesn't exist.
>
> In fact, 'virt-ls --all' lists no domains, even the one I'm looking
> at
> in virt-manager.
$ man virt-ls
NAME
virt-ls - List files in a virtual machine
SYNOPSIS
virt-ls [--options] -d domname directory [directory ...]
virt-ls [--options] -a disk.img [-a disk.img ...] directory
[directory ...]
Old style:
virt-ls [--options] domname directory
virt-ls [--options] disk.img [disk.img ...] directory
Instead
$ virsh list —all
should be more talkative for you.
As I tried to indicate in my original post, that shows nothing:
$ virsh list --all
Id Name State
--------------------
$
poc