can't get virsh shutdown (kvm) working with ACPI, ACPI events not detected

2012-04-19 Thread Olivier Sallou
Hi,
I have a Debian (testing) virtual image above KVM, but I can't get the
shutdown event work.

I installed in my virtual image acpi-support (and acpi) packages to get
acpi support and I tried to load the button kernel module (as it seems
shutdown event maps to button event).

However, looking with acpi_listen, or kacpimonitor, I can't see any
event passing through when executing the shutdown command with virsh.



Has anyone an idea on how to fix this (or investigate it) ?

Thanks

Olivier

-- 

gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f9006a4.5010...@irisa.fr



Re: can't get virsh shutdown (kvm) working with ACPI, ACPI events not detected

2012-04-19 Thread Olivier Sallou


Le 4/19/12 2:35 PM, Olivier Sallou a écrit :
 Hi,
 I have a Debian (testing) virtual image above KVM, but I can't get the
 shutdown event work.

 I installed in my virtual image acpi-support (and acpi) packages to get
 acpi support and I tried to load the button kernel module (as it seems
 shutdown event maps to button event).

 However, looking with acpi_listen, or kacpimonitor, I can't see any
 event passing through when executing the shutdown command with virsh.



 Has anyone an idea on how to fix this (or investigate it) ?
Answer to myself after many tests.
Installing acpi packages of course, plus modprobe on button and evdev

 Thanks

 Olivier


-- 
Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
Tel: 02.99.84.71.95

gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f901944.9030...@irisa.fr