1. 24 9月, 2014 1 次提交
  2. 20 8月, 2014 1 次提交
    • R
      bhyve: add volumes support · 6c2e7d0b
      Roman Bogorodskiy 提交于
      Update bhyveBuildDiskArgStr to support volumes:
      
       - Make virBhyveProcessBuildBhyveCmd and
         virBhyveProcessBuildLoadCmd take virConnectPtr as the
         first argument instead of bhyveConnPtr as virConnectPtr is
         needed for virStorageTranslateDiskSourcePool,
       - Add virStorageTranslateDiskSourcePool call to
         virBhyveProcessBuildBhyveCmd and
         virBhyveProcessBuildLoadCmd,
       - Allow disks of type VIR_STORAGE_TYPE_VOLUME
      6c2e7d0b
  3. 22 7月, 2014 2 次提交
    • M
      tests: Remove stale scsihostdata dir · 692016f7
      Michal Privoznik 提交于
      In the fbd91d49 commit, new scsihostdata dir is added to EXTRA_DIST in
      the tests/Makefile.am. However, the directory itself is not created
      anywhere, nor in the commit.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      692016f7
    • J
      virutil: Introduce virReadSCSIUniqueId · fbd91d49
      John Ferlan 提交于
      Introduce a new function to read the current scsi_host entry and return
      the value found in the 'unique_id' file.
      
      Add a 'scsihosttest' test (similar to the fchosttest, but incorporating some
      of the concepts of the mocked pci test library) in order to read the
      unique_id file like would be found in the /sys/class/scsi_host tree.
      fbd91d49
  4. 03 7月, 2014 3 次提交
    • M
      tests: Avoid double linking some libraries · fb8bc6be
      Michal Privoznik 提交于
      The problem is, since 614581f3 domaincapstest is linked with
      $(LDADDS) by default. Then, since 94e3f23e the test may be
      conditionally linked with $(qemu_LDADDS) which already contains
      $(LDADDS). And some linkers doesn't cope with this nicely:
      
        CCLD     domaincapstest
      ../src/libvirt_probes.o:(.probes+0x0): multiple definition of `libvirt_event_poll_add_handle_semaphore'
      ../src/libvirt_probes.o:(.probes+0x0): first defined here
      ../src/libvirt_probes.o:(.probes+0x2): multiple definition of `libvirt_event_poll_update_handle_semaphore'
      ../src/libvirt_probes.o:(.probes+0x2): first defined here
      ../src/libvirt_probes.o:(.probes+0x4): multiple definition of `libvirt_event_poll_remove_handle_semaphore'
      ../src/libvirt_probes.o:(.probes+0x4): first defined here
      ../src/libvirt_probes.o:(.probes+0x6): multiple definition of `libvirt_event_poll_dispatch_handle_semaphore'
      ../src/libvirt_probes.o:(.probes+0x6): first defined here
      
      And so on.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      fb8bc6be
    • M
      qemu: Implement virConnectGetDomainCapabilities · 94e3f23e
      Michal Privoznik 提交于
      So far only information on disks and host devices are exposed in the
      capabilities XML. Well, at least something. Even a new test is
      introduced. The qemu capabilities are stolen from already existing
      qemucapabilities test. There's one tricky point though. Functions that
      checks host's KVM and VFIO capabilities, are impossible to mock
      currently. So in the test, we are setting the capabilities by hand.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      94e3f23e
    • M
      Introduce domain_capabilities · 614581f3
      Michal Privoznik 提交于
      This new module holds and formats capabilities for emulator. If you
      are about to create a new domain, you may want to know what is the
      host or hypervisor capable of. To make sure we don't regress on the
      XML, the formatting is not something left for each driver to
      implement, rather there's general format function.
      
      The domain capabilities is a lockable object (even though the locking
      is not necessary yet) which uses reference counter.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      614581f3
  5. 23 6月, 2014 2 次提交
  6. 10 6月, 2014 1 次提交
    • Y
      Add vbox_snapshot_conf struct · 4dc5d8f1
      Yohan BELLEGUIC 提交于
      This structure contains the data to be saved in the VirtualBox XML file
      and can be manipulated with severals exposed functions.
      The structure is created by vboxSnapshotLoadVboxFile taking the
      machine XML file.
      It also can rewrite the XML by using vboxSnapshotSaveVboxFile.
      4dc5d8f1
  7. 05 6月, 2014 1 次提交
  8. 03 6月, 2014 2 次提交
    • P
      tests: Build virstoragetest only when storage driver is compiled too · 835dc013
      Peter Krempa 提交于
      virstoragetest now requires parts of the storage driver to be built.
      Without this change the test can't be compiled on platforms that don't
      build the storage driver (mingw).
      
      make[2]: *** No rule to make target `../src/libvirt_driver_storage_impl.la', needed by `virstoragetest.exe'.  Stop.
      
      Broken by commit 713cc3b0
      835dc013
    • P
      storage: Move virStorageFileGetMetadata to the storage driver · 713cc3b0
      Peter Krempa 提交于
      My future work will modify the metadata crawler function to use the
      storage driver file APIs to access the files instead of accessing them
      directly so that we will be able to request the metadata for remote
      files too. To avoid linking the storage driver to every helper file
      using the utils code, the backing chain traversal function needs to be
      moved to the storage driver source.
      
      Additionally the virt-aa-helper and virstoragetest programs need to be
      linked with the storage driver as a result of this change.
      713cc3b0
  9. 03 5月, 2014 1 次提交
  10. 02 5月, 2014 1 次提交
  11. 26 4月, 2014 1 次提交
  12. 25 4月, 2014 5 次提交
  13. 11 4月, 2014 1 次提交
    • J
      tests: Fix systemd test with --without-driver-modules · 844a5c1e
      Jiri Denemark 提交于
      Every test that makes use of virmock.h (only virsystemdtest as of now)
      needs to be linked with -export-dynamic to make sure the LD_PRELOADed
      mock library can access its wrap_* symbols. Normally,
      DRIVER_MODULE_LDFLAGS variable contains -export-dynamic but when
      --without-driver-modules configure option is used, DRIVER_MODULE_LDFLAGS
      is empty.
      
      This patch turns on -export-dynamic for all tests unconditionally
      regardless on --without-driver-modules. This fixes virsystemdtest and
      all future users of virmock.h.
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      844a5c1e
  14. 09 4月, 2014 1 次提交
  15. 08 4月, 2014 4 次提交
  16. 07 4月, 2014 1 次提交
  17. 27 3月, 2014 1 次提交
    • R
      bhyve: add xml2args unittest · 1994d2dd
      Roman Bogorodskiy 提交于
      At this point unittest covers 4 basic cases:
      
       - minimal working XML for bhyve
       - same as above, but with virtio disk
       - ACPI and APIC args test
       - MAC address test
      1994d2dd
  18. 26 3月, 2014 1 次提交
    • F
      qemu: add unit tests for the capabilities xml · 231b63e3
      Francesco Romani 提交于
      The test is loosely inspired from qemucapabilitiestest
      and qemuxml2xmltest.
      
      Added a new test instead of extending an existing one because
      the feature being tested don't really fits nicely in any
      existing place.
      231b63e3
  19. 21 3月, 2014 2 次提交
  20. 19 3月, 2014 1 次提交
  21. 18 3月, 2014 1 次提交
  22. 13 3月, 2014 1 次提交
  23. 11 3月, 2014 2 次提交
  24. 07 3月, 2014 1 次提交
  25. 03 3月, 2014 2 次提交