2011/7/4 Daniel P. Berrange <berrange@xxxxxxxxxx>: > 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 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list