[libvirt] [PATCHv5 1/2] Support for Disk Geometry Override

Daniel P. Berrange berrange at redhat.com
Mon Aug 20 12:03:39 UTC 2012


On Mon, Aug 20, 2012 at 01:58:24PM +0200, Viktor Mihajlovski wrote:
> From: J.B. Joret <jb at linux.vnet.ibm.com>
> 
> A hypervisor may allow to override the disk geometry of drives.
> Qemu, as an example with cyls=,heads=,secs=[,trans=].
> This patch extends the domain config to allow the specification of
> disk geometry with libvirt.
> 
> V2 Changes: Split out qemu specific code, add documentation and schema.
> 
> V3 Changes: Moved geometry element to diskspec and use virReportError now.
> 
> Signed-off-by: J.B. Joret <jb at linux.vnet.ibm.com>
> Signed-off-by: Viktor Mihajlovski <mihajlov at linux.vnet.ibm.com>
> ---
>  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 +
>  5 files changed, 140 insertions(+), 0 deletions(-)

ACK


Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list