[libvirt] Sendkey after shutdown

Hello all, first post, first contact! I hope my english is at least understandable. I'm using libvirt to manage some kvm hosts with virtual Windows-Systems. If i call 'shutdown <system>' in virsh, i get "Domain <system> is being shutdown" but on the system a window is displayed telling my about remote users. Without libvirt i had the kvm-monitor on an ip-port and used 'sendkey ret' to kill the dialog. Is there a hook/script/extention-api to implement something like this? Thanks a lot! Regards, Mario Wolff PS: Is someone working on a drbd-storage-driver? Are there interests? Is there an interface-description for storage-drivers? Should one wait until the drbd is moved to lvm (i've heard there are plans?!?)? Thanks again!

On Tue, Feb 03, 2009 at 11:09:01AM +0100, Mario Wolff wrote:
Hello all, first post, first contact! I hope my english is at least understandable. I'm using libvirt to manage some kvm hosts with virtual Windows-Systems. If i call 'shutdown <system>' in virsh, i get "Domain <system> is being shutdown" but on the system a window is displayed telling my about remote users. Without libvirt i had the kvm-monitor on an ip-port and used 'sendkey ret' to kill the dialog. Is there a hook/script/extention-api to implement something like this?
We don't provide any API for this function at this time.
PS: Is someone working on a drbd-storage-driver? Are there interests? Is there an interface-description for storage-drivers? Should one wait until the drbd is moved to lvm (i've heard there are plans?!?)? Thanks again!
I'm not aware of anything doing this. I don't really know much about how DRBD works in terms of host OS tools & setup, so can't say what this would require for integration in libvirt storage APIs Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
participants (2)
-
Daniel P. Berrange
-
Mario Wolff