[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 7/8] Add monitor API for checking whether KVM is enabled



2011/7/4 Daniel P. Berrange <berrange 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]