1. 19 1月, 2018 1 次提交
  2. 04 12月, 2017 1 次提交
  3. 03 11月, 2017 1 次提交
  4. 04 10月, 2017 1 次提交
  5. 25 9月, 2017 1 次提交
  6. 04 9月, 2017 1 次提交
  7. 02 8月, 2017 1 次提交
  8. 26 7月, 2017 1 次提交
    • P
      util: introduce virFileCache · ac3eb2ab
      Pavel Hrdina 提交于
      The new virFileCache will nicely handle the caching logic for any data
      that we would like to cache.  For each type of data we will just need
      to implement few handlers that will take care of creating, validating,
      loading and saving the cached data.
      
      The cached data must be an instance of virObject.
      
      Currently we cache QEMU capabilities which will start using
      virFileCache.
      Signed-off-by: NPavel Hrdina <phrdina@redhat.com>
      Reviewed-by: NJiri Denemark <jdenemar@redhat.com>
      ac3eb2ab
  9. 14 7月, 2017 1 次提交
  10. 11 7月, 2017 1 次提交
  11. 05 7月, 2017 1 次提交
  12. 07 6月, 2017 2 次提交
  13. 02 6月, 2017 1 次提交
  14. 26 5月, 2017 1 次提交
  15. 06 5月, 2017 1 次提交
  16. 19 4月, 2017 2 次提交
  17. 12 4月, 2017 1 次提交
  18. 02 4月, 2017 1 次提交
  19. 28 3月, 2017 1 次提交
  20. 27 3月, 2017 3 次提交
    • E
      util: Introduce new module virmdev · e1ec4f88
      Erik Skultety 提交于
      Beside creation, disposal, getter, and setter methods the module exports
      methods to work with lists of mediated devices.
      Signed-off-by: NErik Skultety <eskultet@redhat.com>
      e1ec4f88
    • M
      Remove src/nodeinfo · 26ae4e48
      Martin Kletzander 提交于
      There is no "node driver" as there was before, drivers have to do
      their own ACL checking anyway, so they all specify their functions and
      nodeinfo is basically just extending conf/capablities.  Hence moving
      the code to src/conf/ is the right way to go.
      
      Also that way we can de-duplicate some code that is in virsysfs and/or
      virhostcpu that got duplicated during the virhostcpu.c split.  And
      Some cleanup is done throughout the changes, like adding the vir*
      prefix etc.
      Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
      26ae4e48
    • M
      Move src/fdstream to src/util/virfdstream · bdcb1995
      Martin Kletzander 提交于
      There is no reason for it not to be in the utils, all global symbols
      under that file already have prefix vir* and there is no reason for it
      to be part of DRIVER_SOURCES because that is just a leftover from
      older days (pre-driver modules era, I believe).
      Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
      bdcb1995
  21. 18 3月, 2017 1 次提交
  22. 16 3月, 2017 1 次提交
  23. 12 3月, 2017 2 次提交
    • F
      bhyve: add video support · 04664327
      Fabian Freyer 提交于
      bhyve supports 'gop' video device that allows clients to connect
      to VMs using VNC clients. This commit adds support for that to
      the bhyve driver:
      
       - Introducr 'gop' video device type
       - Add capabilities probing for the 'fbuf' device that's
         responsible for graphics
       - Update command builder routines to let users configure
         domain's VNC via gop graphics.
      Signed-off-by: NRoman Bogorodskiy <bogorodskiy@gmail.com>
      04664327
    • R
      virt-host-validate: add bhyve support · 321ff408
      Roman Bogorodskiy 提交于
      Add bhyve support to virt-host-validate(1). It checks for the
      essential kernel modules to be available so that user can actually
      start VMs, have networking and console access.
      
      It uses the kldnext(2)/kldstat(2) routines to retrieve modules list.
      As bhyve is only available on FreeBSD and these routines were available
      long before bhyve appeared, not adding any specific configure checks
      for that.
      
      Also, update tools/Makefile.am to add
      virt-host-validate-$driver.[hc] to the build only if the
      appropriate driver is enabled.
      321ff408
  24. 08 3月, 2017 1 次提交
    • J
      conf: Introduce virnwfilterobj · 079747a3
      John Ferlan 提交于
      Move all the NWFilterObj API's into their own module virnwfilterobj
      from the nwfilter_conf
      
      Purely code motion at this point, plus adjustments to cleanly build.
      079747a3
  25. 06 3月, 2017 1 次提交
    • J
      conf: Introduce virinterfaceobj · eabeff8e
      John Ferlan 提交于
      Move all the InterfaceObj API's into their own module virinterfaceobj
      from the interface_conf
      
      Purely code motion at this point.
      eabeff8e
  26. 04 3月, 2017 1 次提交
    • J
      conf: Introduce virnodedeviceobj · bc20200e
      John Ferlan 提交于
      Move all the NodeDeviceObj API's into their own module virnodedeviceobj
      from the node_device_conf
      
      Purely code motion at this point, plus adjustments to cleanly build.
      bc20200e
  27. 03 3月, 2017 1 次提交
  28. 19 2月, 2017 2 次提交
    • J
      util: Move scsi_host specific functions from virutil · 03346def
      John Ferlan 提交于
      Create a virscsihost.c and place the functions there. That removes the
      last #ifdef __linux__ from virutil.c.
      
      Take the opporunity to also change the function names and in one case
      the parameters slightly
      03346def
    • J
      util: Create a new virvhba module and move/rename API's · 16416816
      John Ferlan 提交于
      Rather than have them mixed in with the virutil apis, create a separate
      virvhba.c module and move the vHBA related calls into there. Soon there
      will be more added.
      
      Also modify the names of the functions and some arguments to be more
      indicative of what is really happening. Adjust the callers respectively.
      
      While I was changing fchosttest, rather than the non-descriptive names
      test1...test6, rename them to match what the test is doing.
      16416816
  29. 31 1月, 2017 1 次提交
    • 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
  30. 26 1月, 2017 1 次提交
  31. 19 1月, 2017 1 次提交
  32. 18 1月, 2017 1 次提交
  33. 06 1月, 2017 1 次提交
  34. 09 12月, 2016 1 次提交