[libvirt] virsh list after libvirt restart "forgets" existing guests (0.7.5)

Thomas Sjolshagen thomas at sjolshagen.net
Mon Jan 18 18:03:12 UTC 2010


After the upgrade to 0.7.5 from the preview repository, I've noticed that a restart of libvirt does not appear to "re-acquire" any guests already running on the system.

# virsh list
Compiled against library: libvir 0.7.5
Using library: libvir 0.7.5
Using API: QEMU 0.7.5
Running hypervisor: QEMU 0.12.1

# ps -ef | grep qemu-kvm
qemu      1445     1  0 Jan17 ?        00:03:32 /usr/bin/qemu-kvm -S -M pc-0.11 -enable-kvm -m 512 -smp 1 -name imap [SNIP]
qemu      1516     1  0 Jan17 ?        00:04:11 /usr/bin/qemu-kvm -S -M pc-0.11 -cpu qemu32 -enable-kvm -m 512 -smp 1 -name mail [SNIP]
qemu     21409     1 16 Jan16 ?        07:29:32 /usr/bin/qemu-kvm -S -M pc-0.11 -enable-kvm -m 1640 -smp 1 -name imap2-cluster [SNIP]

# virsh list
 Id Name                 State
----------------------------------
  1 imap                 running
  2 mail                 running

Additionally, something doesn't appear to be getting either parsed right or set correctly when the guest is started as the /var/log/libvirt/qemu/<guestname>.log file contains: 
"Option 'ipv4: Use 'on' or 'off'" 
"Failed to parse "yes" for "dummy.ipv4"





More information about the libvir-list mailing list