Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 909319 - app-emulation/qemu-init-scripts-0.3.0-r1 and net-misc/socat-1.7.4.4: system_powerdown not sent
Summary: app-emulation/qemu-init-scripts-0.3.0-r1 and net-misc/socat-1.7.4.4: system_p...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-28 06:58 UTC by LW
Modified: 2023-06-28 15:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description LW 2023-06-28 06:58:13 UTC
net-misc/socat-1.7.4.4::gentoo  USE="bindist ipv6 readline ssl -tcpd"
app-emulation/qemu-8.0.2::gentoo  USE="aio bzip2 doc fdt fuse 
         gnutls ncurses nfs nls pin-upstream-blobs seccomp static-user 
         usb usbredir vhost-net xattr -accessibility -alsa -bpf 
        -capstone -curl -debug -filecaps -glusterfs -gtk -infiniband
        -io-uring -iscsi -jack -jemalloc -jpeg -lzo -multipath -numa 
        -opengl -oss -pam -plugins -png -pulseaudio -python -rbd -sasl
        -sdl -sdl-image (-selinux) -slirp -smartcard -snappy -spice
        -ssh -systemtap -test -udev -vde -virgl -virtfs -vnc -vte -xen 
        -zstd" PYTHON_TARGETS="python3_10 -python3_11"
     QEMU_SOFTMMU_TARGETS="aarch64 arm x86_64 -alpha -avr -cris -hppa -i386 
        -loongarch64 -m68k -microblaze -microblazeel -mips -mips64 -mips64el 
        -mipsel -nios2 -or1k -ppc -ppc64 -riscv32 -riscv64 -rx -s390x -sh4 
        -sh4eb -sparc -sparc64 -tricore -xtensa -xtensaeb"
     QEMU_USER_TARGETS="aarch64 arm x86_64 -aarch64_be -alpha -armeb -cris 
        -hexagon -hppa -i386 -loongarch64 -m68k -microblaze -microblazeel
        -mips -mips64 -mips64el -mipsel -mipsn32 -mipsn32el -nios2 -or1k
        -ppc -ppc64 -ppc64le -riscv32 -riscv64 -s390x -sh4 -sh4eb -sparc 
        -sparc32plus -sparc64 -xtensa -xtensaeb"
app-emulation/qemu-init-scripts-0.3.0-r1::gentoo

# rc-service kvm.testvm stop
Does not send the ACPI event 'button/power PBTN 00000080 00000000' when using socat.

The init script uses the command:
    echo system_powerdown | socat -u - UNIX-CONNECT:/run/vm/kvm.testvm.monitor
and a running acpi_listen in the vm does not detect the event.

Manually running [removing the -u option (unidirectional)]:
    echo system_powerdown | socat - UNIX-CONNECT:/run/vm/kvm.testvm.monitor
does send the ACPI button event which the vm's acpi_listen detects.