[libvirt] [PATCH 7/8] Add monitor API for checking whether KVM is enabled
Matthias Bolte
matthias.bolte at googlemail.com
Tue Jul 5 11:41:17 UTC 2011
2011/7/4 Daniel P. Berrange <berrange at redhat.com>:
> When attaching to an external QEMU process, it is neccessary
> to check if the process is using KVM or not. This can be done
> using a monitor command
>
> * src/qemu/qemu_monitor.c, src/qemu/qemu_monitor.h,
> src/qemu/qemu_monitor_json.c, src/qemu/qemu_monitor_json.h,
> src/qemu/qemu_monitor_text.c, src/qemu/qemu_monitor_text.h: Add
> API for checking if KVM is enabled
> ---
> src/qemu/qemu_monitor.c | 21 +++++++++++++++++++
> src/qemu/qemu_monitor.h | 2 +
> src/qemu/qemu_monitor_json.c | 46 ++++++++++++++++++++++++++++++++++++++++++
> src/qemu/qemu_monitor_json.h | 2 +
> src/qemu/qemu_monitor_text.c | 22 ++++++++++++++++++++
> src/qemu/qemu_monitor_text.h | 2 +
> 6 files changed, 95 insertions(+), 0 deletions(-)
ACK.
--
Matthias Bolte
http://photron.blogspot.com
More information about the libvir-list
mailing list