This patch fixes incorrect help screen parsing for QEMU 1.0.1 package
Version line changed from
    QEMU emulator version 1.0 (qemu-kvm-1.0), Copyright (c) 2003-2008 Fabrice 
Bellard
To
    QEMU emulator version 1.0,1 (qemu-kvm-1.0.1), Copyright (c) 2003-2008 
Fabrice Bellard

Comma in version number hits parsing logic and leads to incorrect capabilities 
list.
Particularity KVM support capability is not detected making problems in various 
scenarious.

The patch treats the newly added 1 as a micro version number, not sure this is 
legitimate.
Please, correct me if I'm wrong.

Signed-off-by: Dmitry Fleytman [email protected]

Dmitry Fleytman (2):
  Incorrect help screen parsing for QEMU 1.0.1 package fixed
  Test for QEMU 1.0.1 help screen parsing added

 src/qemu/qemu_capabilities.c         |  13 +-
 tests/qemuhelpdata/qemu-1.0.1        | 261 +++++++++++++++++++++++++++++++++++
 tests/qemuhelpdata/qemu-1.0.1-device | 138 ++++++++++++++++++
 tests/qemuhelptest.c                 |  73 ++++++++++
 4 files changed, 481 insertions(+), 4 deletions(-)
 create mode 100644 tests/qemuhelpdata/qemu-1.0.1
 create mode 100644 tests/qemuhelpdata/qemu-1.0.1-device

-- 
1.7.11.4

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

Reply via email to