1. 31 1月, 2017 10 次提交
    • R
      bhyve: add tests for SATA address allocation · ae01530c
      Roman Bogorodskiy 提交于
      ae01530c
    • R
      bhyve: fix SATA address allocation · 803966c7
      Roman Bogorodskiy 提交于
      As bhyve for a long time didn't have a notion of the explicit SATA
      controller and created a controller for each drive, the bhyve driver
      in libvirt acted in a similar way and didn't care about the SATA
      controllers and assigned PCI addresses to drives directly, as
      the generated command will look like this anyway:
      
       2:0,ahci-hd,somedisk.img
      
      This no longer makes sense because:
      
       1. After commit c07d1c1c it's not possible to assign
          PCI addresses to disks
       2. Bhyve now supports multiple disk drives for a controller,
          so it's going away from 1:1 controller:disk mapping, so
          the controller object starts to make more sense now
      
      So, this patch does the following:
      
       - Assign PCI address to SATA controllers (previously we didn't do this)
       - Assign disk addresses instead of PCI addresses for disks. Now, when
         building a bhyve command, we take PCI address not from the disk
         itself but from its controller
       - Assign addresses at XML parsing time using the
         assignAddressesCallback. This is done mainly for being able to
         verify address allocation via xml2xml tests
       - Adjust existing bhyvexml2{xml,argv} tests to chase the new
         address allocation
      
      This patch is largely based on work of Fabian Freyer.
      803966c7
    • R
      bhyve: add virBhyveDriverCreateXMLConf · 13a050b2
      Roman Bogorodskiy 提交于
      Add virBhyveDriverCreateXMLConf, a simple wrapper around
      virDomainXMLOptionNew that makes it easier to pass bhyveConnPtr
      as a private data for parser. It will be used later for device
      address allocation at parsing time.
      
      Update consumers to use it instead of direct calls to
      virDomainXMLOptionNew.
      
      As we now have proper callbacks connected for the tests, update
      test files accordingly to include the automatically generated
      PCI root controller.
      13a050b2
    • F
      bhyve: detect 32 SATA devices per controller support · 20a7737d
      Fabian Freyer 提交于
      Introduce a BHYVE_CAP_AHCI32SLOT capability that shows
      if 32 devices per SATA controller are supported, and
      a bhyveProbeCapsAHCI32Slot function that probes it.
      20a7737d
    • N
      vz: add state group to all domain stats · b66bf073
      Nikolay Shirokovskiy 提交于
      b66bf073
    • N
      vz: add balloon group to all domain stats · 2a41a230
      Nikolay Shirokovskiy 提交于
      2a41a230
    • N
      vz: add vcpu group to all domain stats · e15e94c2
      Nikolay Shirokovskiy 提交于
      e15e94c2
    • N
      vz: add net group to all domain stats · 87f41f38
      Nikolay Shirokovskiy 提交于
      87f41f38
    • N
      vz: provide block stats for all domain stats · 0d5ca32e
      Nikolay Shirokovskiy 提交于
      0d5ca32e
    • N
      vz: don't show bootorder for containers · 9c10c030
      Nikolay Shirokovskiy 提交于
      Because this is invalid xml for containers. This patch almost
      reverts 7eda8369, but still skips converting vz sdk bootorder
      for containers to libvirt bootorder because we use boot order
      in containers for quite different purpurse.
      9c10c030
  2. 30 1月, 2017 9 次提交
  3. 27 1月, 2017 11 次提交
  4. 26 1月, 2017 8 次提交
  5. 25 1月, 2017 2 次提交