[libvirt] [PATCHv4 0/2] Rework of Disk Geometry Support

Viktor Mihajlovski mihajlov at linux.vnet.ibm.com
Mon Aug 20 08:23:03 UTC 2012


On 08/17/2012 03:33 PM, Viktor Mihajlovski wrote:
> With qemu it is possible to override the geometry (cylinders, heads,
> sectors) of disks.
> This series adds a new XML tag for geometry and the related
> support in the qemu driver.
>
> V2 Changes:
> Refactor into the generic domain configuration/XML support for disk
> geometry and a qemu specific part with the testcase
>
> V3 Changes:
> 1. Use virReportError instead of custom xxxReportError.
> 2. Moved the geometry element to diskspec, so it applies to all kind
>     of disks.
>
> V4 Changes:
> Rebase for libvirt 0.10.0 freeze.
>
> J.B. Joret (2):
>    Support for Disk Geometry Override
>    qemu: Disk Geometry Override Support
>
>   docs/formatdomain.html.in                          |   25 +++++++
>   docs/schemas/domaincommon.rng                      |   25 +++++++
>   src/conf/domain_conf.c                             |   71 ++++++++++++++++++++
>   src/conf/domain_conf.h                             |   17 +++++
>   src/libvirt_private.syms                           |    2 +
>   src/qemu/qemu_command.c                            |   59 ++++++++++++++++
>   .../qemuxml2argv-disk-geometry.args                |    4 +
>   .../qemuxml2argv-disk-geometry.xml                 |   26 +++++++
>   tests/qemuxml2argvtest.c                           |    2 +
>   9 files changed, 231 insertions(+), 0 deletions(-)
>   create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-disk-geometry.args
>   create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-disk-geometry.xml
>

Obsolete Patch Set - Replaced by v5
I oversaw one old-style DO_TEST invocation.

-- 

Mit freundlichen Grüßen/Kind Regards
    Viktor Mihajlovski

IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294




More information about the libvir-list mailing list