[Pkg-libvirt-maintainers] Bug#755387: Bug#755387: libvirt-bin: Wheezy guest doesn't ACPI power button events

Guido Günther agx at sigxcpu.org
Mon Jul 21 07:19:24 UTC 2014


On Sun, Jul 20, 2014 at 04:19:27AM -0400, Daniel Dickinson wrote:
> Package: libvirt-bin
> Version: 1.2.4-3
> Severity: normal
> 
> I have a Wheezy guest I can't shutdown cleanly from libvirt (i.e. without logging into VM
> and shutting down VM from within VM) because the guest is failing to get ACPI events.
> 
> The guest didn't have issues before jessie (i.e. while on Wheezy) and does have acpid and I've
> even tried adding acpi-support to no avail.  acpi is enabled as a feature in the XML.
> 
> The strange thing is a Windows 8.1 guest is not having issues with this (it was created around
> the same time as the wheezy guest, while host was on wheezy).
> 
> The command line generated by libvirt is:
> 
> LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin QEMU_AUDIO_DRV=none /usr/bin/kvm -name <name> -S -machine pc-1.1,accel=kvm,usb=off -m 256 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid <uuid> -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/<name>.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -boot order=cd,menu=on,strict=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x4 -drive if=none,id=drive-ide0-1-0,readonly=on,format=raw -device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -drive file=<image>,if=none,id=drive-virtio-disk0,format=raw -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0 -netdev tap,fd=25,id=hostnet0 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=<mac>,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-seria
>  l,chardev=charserial0,id=serial0 -device usb-tablet,id=input0 -vnc 127.0.0.1:1 -device cirrus-vga,id=video0,bus=pci.0,addr=0x2 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6
> 
> Neither libvirt  nor the guest produce any logs as result of issuing
> the shutdown command from virt-manageer or virsh.

Check https://wiki.debian.org/libvirt/Debugging to get more logs. I
don't have any issues shuting down wheezy guests..
Cheers,
 -- Guido

> 
> -- System Information:
> Debian Release: jessie/sid
>   APT prefers testing
>   APT policy: (500, 'testing')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
> 
> Kernel: Linux 3.14-1-amd64 (SMP w/8 CPU cores)
> Locale: LANG=en_CA.utf8, LC_CTYPE=en_CA.utf8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> Versions of packages libvirt-bin depends on:
> ii  adduser              3.113+nmu3
> ii  gettext-base         0.18.3.2-3
> ii  init-system-helpers  1.19
> ii  libapparmor1         2.8.0-5.1+b1
> ii  libaudit1            1:2.3.7-1
> ii  libavahi-client3     0.6.31-4
> ii  libavahi-common3     0.6.31-4
> ii  libblkid1            2.20.1-5.8
> ii  libc6                2.19-7
> ii  libcap-ng0           0.7.3-1.1
> ii  libdbus-1-3          1.8.6-1
> ii  libdevmapper1.02.1   2:1.02.85-2
> ii  libfuse2             2.9.3-12
> ii  libgcrypt11          1.5.3-4
> ii  libgnutls26          2.12.23-17
> ii  libnetcf1            1:0.2.3-4
> ii  libnl-3-200          3.2.24-2
> ii  libnl-route-3-200    3.2.24-2
> ii  libnuma1             2.0.9-1
> ii  libparted0debian1    2.3-20
> ii  libpcap0.8           1.5.3-4
> ii  libpciaccess0        0.13.2-3
> ii  librados2            0.80.1-2
> ii  librbd1              0.80.1-2
> ii  libreadline6         6.3-6
> ii  libsasl2-2           2.1.26.dfsg1-11
> ii  libselinux1          2.3-1
> ii  libssh2-1            1.4.3-3
> ii  libsystemd-daemon0   204-14
> ii  libudev1             204-14
> ii  libvirt0             1.2.4-3
> ii  libxen-4.3           4.3.0-3+b1
> ii  libxenstore3.0       4.3.0-3+b1
> ii  libxml2              2.9.1+dfsg1-4
> ii  libyajl2             2.1.0-1
> ii  logrotate            3.8.7-1
> 
> Versions of packages libvirt-bin recommends:
> ii  bridge-utils    1.5-9
> ii  dmidecode       2.12-3
> ii  dnsmasq-base    2.71-1
> ii  ebtables        2.0.10.4-3
> ii  iproute         1:3.15.0-2
> ii  iptables        1.4.21-2
> ii  libxml2-utils   2.9.1+dfsg1-4
> ii  netcat-openbsd  1.105-7
> ii  parted          2.3-20
> ii  pm-utils        1.4.1-15
> ii  qemu            2.0.0+dfsg-6+b1
> ii  qemu-kvm        2.0.0+dfsg-6+b1
> 
> Versions of packages libvirt-bin suggests:
> pn  apparmor     <none>
> pn  auditd       <none>
> ii  policykit-1  0.105-6
> pn  radvd        <none>
> ii  systemd      204-14
> pn  systemtap    <none>
> 
> -- Configuration Files:
> /etc/default/libvirt-guests changed [not included]
> /etc/libvirt/qemu.conf [Errno 13] Permission denied: u'/etc/libvirt/qemu.conf'
> 
> -- no debconf information
> 
> _______________________________________________
> Pkg-libvirt-maintainers mailing list
> Pkg-libvirt-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-libvirt-maintainers
> 



More information about the Pkg-libvirt-maintainers mailing list