1. 13 5月, 2014 14 次提交
  2. 12 5月, 2014 2 次提交
  3. 10 5月, 2014 1 次提交
    • D
      ESX: add virStorageVolGetInfo in iSCSI backend. · 77e7a75a
      Dawid Zamirski 提交于
      Since the ESX storage implements VMFS and iSCSI storage backends and
      chooses relevant backend dynamically at runtime, there was a segfault
      when issuing vol-info on iSCSI volume due to unimplemented
      virStorageGetInfo function. This patch implements that function that was
      missing in iSCSI backend and returns expected result without a segfault.
      77e7a75a
  4. 07 5月, 2014 12 次提交
  5. 06 5月, 2014 11 次提交
    • C
      virdbus: Make virDBusCall static · 709f2455
      Cole Robinson 提交于
      709f2455
    • C
      virerror: Fix an error message typo · 3e8699d3
      Cole Robinson 提交于
      3e8699d3
    • D
      LSN-2014-0003: Don't expand entities when parsing XML · d6b27d3e
      Daniel P. Berrange 提交于
      If the XML_PARSE_NOENT flag is passed to libxml2, then any
      entities in the input document will be fully expanded. This
      allows the user to read arbitrary files on the host machine
      by creating an entity pointing to a local file. Removing
      the XML_PARSE_NOENT flag means that any entities are left
      unchanged by the parser, or expanded to "" by the XPath
      APIs.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      d6b27d3e
    • J
      spec: Don't install nonexistent test_libvirt_lockd.aug · 96eb7523
      Jiri Denemark 提交于
      test_libvirt_lockd.aug is only generated when qemu driver is enabled.
      96eb7523
    • J
      spec: sanlock is x86_64 only on RHEL · 01cf9eff
      Jiri Denemark 提交于
      01cf9eff
    • L
      qemu: specify domain in host-side PCI addresses when needed/supported · 1e947cf7
      Laine Stump 提交于
      This uses the new QEMU_CAPS_HOST_PCI_MULTIDOMAIN capability when
      present, for -devivce pci-assign, -device vfio-pci, and -pcidevice.
      
      While creating tests for this new functionality, I noticed that the
      xmls for two existing tests had erroneously specified an
      until-now-ignored domain="0x0002", so I corrected those two tests, and
      also added two failure tests to be sure that we alert users who
      attempt to use a non-zero domain with a qemu that doesn't support it.
      1e947cf7
    • L
      qemu: add host-pci-multidomain capability · 17133e37
      Laine Stump 提交于
      Quite a long time ago, (apparently between qemu 0.12 and 0.13) qemu
      quietly began supporting the optional specification of a domain in the
      host-side address of all pci passthrough commands (by simply
      prepending it to the bus:slot.function format, as
      "dddd:bb:ss.f"). Since machines with multiple PCI domains are very
      rare, this never came up in practice, so libvirt was never updated to
      support it.
      
      This patch takes the first step to supporting specification of a non-0
      domain in the host-side address of PCI devices being assigned to a
      domain, by adding a capability bit to indicate support
      "QEMU_CAPS_HOST_PCI_MULTIDOMAIN", and detect it. Since this support
      was added in a version prior to the minimum version required for
      QMP-style capabilities detection, the capability is always enabled for
      any qemu that uses QMP for capabilities detection. For older qemus,
      the only clue that a domain can be specified in the host pci address
      is the presence of the string "[seg:]" in the help string for
      -pcidevice. (Ironically, libvirt will not be modified to support
      specification of domain for -pcidevice, since any qemu new enough for
      us to care about also supports "-device pci-assign" or "-device
      vfio-pci", which are greatly preferred).
      17133e37
    • M
      storageVolCreateXMLFrom: Allow multiple accesses to origvol · eb544266
      Michal Privoznik 提交于
      When creating a new volume, it is possible to copy data into it from
      another already existing volume (referred to as @origvol). Obviously,
      the read-only access to @origvol is required, which is thread safe
      (probably not performance-wise though). However, with current code
      both @newvol and @origvol are marked as building for the time of
      copying data from the @origvol to @newvol. The rationale behind
      is to disallow some operations on both @origvol and @newvol, e.g.
      vol-wipe, vol-delete, vol-download. While it makes sense to not allow
      such operations on partly copied mirror, but it doesn't make sense to
      disallow vol-create or vol-download on the source (@origvol).
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      eb544266
    • J
      Fix build wihout macvtap or virtualport · c3f68823
      Ján Tomko 提交于
      Commit 1b14c449 broke the build on FreeBSD by changing
      the signature of a few functions without updating the
      corresponding stubs that are used when WITH_MACVTAP
      or WITH_VIRTUALPORT is not defined.
      c3f68823
    • C
      docs: fix a typo in formatdomain · 4ae8369a
      Chen Hanxiao 提交于
      s/virual/virtual
      Signed-off-by: NChen Hanxiao <chenhanxiao@cn.fujitsu.com>
      4ae8369a
    • J
      conf: use typedefs for enums in "src/conf/{network,interface}_conf.h" · 6000705a
      Julio Faracco 提交于
      In "src/conf/" there are many enumeration (enum) declarations.
      Similar to the recent cleanup to "src/util" directory, it's
      better to use a typedef for variable types, function types and
      other usages. Other enumeration and folders will be changed to
      typedef's in the future. Most of the files changed in this commit
      are reltaed to Network (network_conf.* and interface_conf.*) enums.
      Signed-off-by: NJulio Faracco <jcfaracco@gmail.com>
      Signed-off-by: NEric Blake <eblake@redhat.com>
      6000705a