On Wednesday 10 February 2010 18:49:15 Daniel P. Berrange wrote:
> With QEMU >= 0.12 the host and guest side of disks no longer have
> the same naming convention. Specifically the host side will now
> get a 'drive-' prefix added to its name. The 'info blockstats'
> monitor command returns the host side name, so it is neccessary
> to strip this off when looking up stats since libvirt stores the
> guest side name !
>
> * src/qemu/qemu_conf.c, src/qemu/qemu_conf.h: Move 'drive-' prefix
>   string to a defined constant
> * src/qemu/qemu_monitor_json.c, src/qemu/qemu_monitor_text.c: Strip
>   off 'drive-' prefix (if found) when looking up disk stats
> ---
>  src/qemu/qemu_conf.c         |    4 ++--
>  src/qemu/qemu_conf.h         |    2 ++
>  src/qemu/qemu_monitor_json.c |    7 +++++++
>  src/qemu/qemu_monitor_text.c |    7 +++++++
>  4 files changed, 18 insertions(+), 2 deletions(-)
> [...]

Thanks a lot, fixes the problem also for qemu-kvm-0.12.2


-t

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to