[libvirt] [PATCH v2] bhyve: implement PCI address allocation

Roman Bogorodskiy bogorodskiy at gmail.com
Sun Apr 20 16:15:14 UTC 2014


Changes from v1:
 - Reserve slot 1 for LPC PCI-ISA bridge, used by console device
 - Respect addresses provided by user in domain xml file
 - Fix tests so 'make check' passes

Roman Bogorodskiy (1):
  bhyve: implement PCI address allocation

 po/POTFILES.in                                     |   1 +
 src/Makefile.am                                    |   4 +
 src/bhyve/bhyve_command.c                          | 131 ++++-----
 src/bhyve/bhyve_device.c                           | 308 +++++++++++++++++++++
 src/bhyve/bhyve_device.h                           |  41 +++
 src/bhyve/bhyve_domain.c                           |  75 +++++
 src/bhyve/bhyve_domain.h                           |  41 +++
 src/bhyve/bhyve_driver.c                           |   9 +-
 .../bhyvexml2argvdata/bhyvexml2argv-acpiapic.args  |   2 +-
 tests/bhyvexml2argvdata/bhyvexml2argv-acpiapic.xml |   2 +
 tests/bhyvexml2argvdata/bhyvexml2argv-base.args    |   2 +-
 tests/bhyvexml2argvdata/bhyvexml2argv-base.xml     |   2 +
 tests/bhyvexml2argvdata/bhyvexml2argv-console.args |   4 +-
 tests/bhyvexml2argvdata/bhyvexml2argv-console.xml  |   2 +
 .../bhyvexml2argv-disk-virtio.args                 |   2 +-
 .../bhyvexml2argv-disk-virtio.xml                  |   2 +
 tests/bhyvexml2argvdata/bhyvexml2argv-macaddr.args |   2 +-
 tests/bhyvexml2argvdata/bhyvexml2argv-macaddr.xml  |   2 +
 tests/bhyvexml2argvdata/bhyvexml2argv-serial.args  |   4 +-
 tests/bhyvexml2argvdata/bhyvexml2argv-serial.xml   |   2 +
 20 files changed, 559 insertions(+), 79 deletions(-)
 create mode 100644 src/bhyve/bhyve_device.c
 create mode 100644 src/bhyve/bhyve_device.h
 create mode 100644 src/bhyve/bhyve_domain.c
 create mode 100644 src/bhyve/bhyve_domain.h

-- 
1.9.0




More information about the libvir-list mailing list