[libvirt] [PATCH 0/6] vbox: Improve handling of storage devices.

Dawid Zamirski dzamirski at datto.com
Mon Oct 9 20:49:48 UTC 2017


Hello,

This patch series reworks the VirtualBox storage device handling code,
brief summary:

* Extend libvirt schema to specify IDE controller model as VBox supports
  changing IDE model to PIIX3, PIIX4 or ICH6 and there are known cases
  of legacy guest OSes being very sensitive to that.
* Make the driver recognize <controller> element at define time which
  allows to specify controller model. Previously the driver was
  completely ignoring that element.
* Allow to create vbox SAS controllers via
  <controller type="scsi" model="lsisas1068" />
* Handle removable devices - define and dump devices without media.
* Make sure media is closed when undefining VMs. Leaving media unclosed
  may cause errors when defining VMs pointing at the same local path.

Dawid Zamirski (6):
  vbox: Close media when undefining domains.
  domain: Allow 'model' attribute for ide controller.
  docs: Add info about ide model attribute.
  vbox: Add more IStorageController API mappings.
  vbox: Process controller definitions from xml.
  vbox: Update XML dump of storage devices.

 docs/formatdomain.html.in     |    3 +
 docs/schemas/domaincommon.rng |   18 +-
 src/conf/domain_conf.c        |    9 +
 src/conf/domain_conf.h        |    9 +
 src/libvirt_private.syms      |    2 +
 src/vbox/vbox_common.c        | 1212 +++++++++++++++++++++++------------------
 src/vbox/vbox_common.h        |   21 +
 src/vbox/vbox_tmpl.c          |   87 +--
 src/vbox/vbox_uniformed_api.h |    3 +
 9 files changed, 790 insertions(+), 574 deletions(-)

-- 
2.14.2




More information about the libvir-list mailing list