]> git.proxmox.com Git - mirror_qemu.git/commit - xen-hvm.c
xen: introduce xen_change_state_handler
authorAnthony PERARD <anthony.perard@citrix.com>
Fri, 15 Jul 2011 00:33:42 +0000 (00:33 +0000)
committerAlexander Graf <agraf@suse.de>
Tue, 26 Jul 2011 04:43:10 +0000 (06:43 +0200)
commitfb4bb2b587549612a0da92de68fcc096ffd8a7d7
treed9638bfe7d4f3d2504b7a5ce85498f677befcd62
parentc886edfb851c0c590d4e77f058f2ec8ed95ad1b5
xen: introduce xen_change_state_handler

Remove the call to xenstore_record_dm_state from xen_main_loop_prepare
that is HVM specific.
Add a new vm_change_state_handler shared between xen_pv and xen_hvm
machines to record the VM state to xenstore.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
xen-all.c