1. 02 5月, 2016 23 次提交
  2. 30 4月, 2016 1 次提交
    • L
      Revert "qemu domain allow to set ip address, peer address and route" · 9b643ae8
      Laine Stump 提交于
      This reverts commit 6e244c65, which
      added support to qemu for the "peer" attribute in domain interface <ip>
      elements.
      
      It's being removed temporarily for the release of libvirt 1.3.4
      because the feature doesn't work, and there are concerns that it may
      need to be modified in an externally visible manner which could create
      backward compatibility problems.
      
       Conflicts:
         tests/qemuxml2argvmock.c - a mock of virNetDevSetOnline() was added
         which may be assumed by other tests added since the original commit,
         so it isn't being reverted.
      9b643ae8
  3. 28 4月, 2016 3 次提交
  4. 27 4月, 2016 3 次提交
  5. 26 4月, 2016 1 次提交
    • M
      qemuProcessCreatePretendCmd: Rework FIPS handling · 927d047e
      Michal Privoznik 提交于
      This function - in contrast with qemuBuildCommandLine - merely
      constructs our internal command representation of a domain. This
      is then later compared against expected output. Or, this function
      is used also in virConnectDomainXMLToNative(). But due to a copy
      paste error this function, just like its image - has @forceFips
      argument that if enabled forces FIPS, otherwise mimics FIPS state
      in the host. If FIPS is enabled or forced the generated command
      line is different to state in which FIPS is disabled. Problem is,
      while this could be desired in the virConnectDomainXMLToNative()
      case, this is undesirable in the test suite as it will produce
      unpredicted results.
      Solution to this is to rename argument to @enableFips to
      specifically tell whether we expect command line to be build in
      either of fashions and make virConnectDomainXMLToNative()
      implementation fetch FIPS state and pass it to
      qemuProcessCreatePretendCmd().
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      927d047e
  6. 25 4月, 2016 2 次提交
    • L
      qemu: fix error log in qemuAssignPCIAddresses() · ff212622
      Laine Stump 提交于
      This error message was too specific, based on the incorrect assumption
      that any error was cause by auto-added bridges:
      
        failed to create PCI bridge on bus 2: too many devices
        with fixed addresses
      
      In practice you can't know if a bridge with an index <= the bus it's
      connecting to was added automatically, or if it was a mistake in
      explicit config, and the auto-add problem is going to be dealt with in
      a different way in an upcoming patch. The new message is this:
      
        PCI Controller at index 1 (0x01) has "
        bus='0x02', but bus must be <= index
      
      (note that index is given in both decimal and hex because it is
      formatted as decimal in the XML, but bus is formatted as hex, and
      displaying the hex value of index makes it easier to see the problem
      when index > 9 (which will often be the case with PCIe, since most
      controllers only have a single port, not 32 slots as with standard
      PCI)).
      
      Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1004593
      ff212622
    • M
      qemu: Fix off-by-one error in block I/O throttle messages · 72c313bc
      Martin Kletzander 提交于
      QEMU_BLOCK_IOTUNE_MAX is the maximum inclusively, so let's modify the
      message so it makes sense.
      
      https://bugzilla.redhat.com/show_bug.cgi?id=1329041Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
      72c313bc
  7. 22 4月, 2016 1 次提交
  8. 21 4月, 2016 2 次提交
  9. 20 4月, 2016 4 次提交
    • C
      storage: remove support for /usr/bin/kvm-img · 487d211d
      Cole Robinson 提交于
      This an ubuntu/debian packaging convention. At one point it may have
      been an actually different binary, but at least as of ubuntu precise
      (the oldest supported ubuntu distro, released april 2012) kvm-img is
      just a symlink to qemu-img for back compat.
      
      I think it's safe to drop support for it
      487d211d
    • A
      qemu: Cache GIC capabilities · c9458b65
      Andrea Bolognani 提交于
      Implement support for saving GIC capabilities in the cache and
      read them back.
      c9458b65
    • A
      qemu: Fill in GIC capabilities · e087aa75
      Andrea Bolognani 提交于
      Take the GIC capabilities stored in a virQEMUCaps instance and
      update a virDomainCaps instance appropriately.
      e087aa75
    • A
      qemu: Probe GIC capabilities · 12209ba5
      Andrea Bolognani 提交于
      QEMU introduced the query-gic-capabilities QMP command
      with commit 4468d4e0f383: use the command, if available,
      to probe available GIC capabilities.
      
      The information obtained is stored in a virQEMUCaps
      instance, and will be later used to fill in a
      virDomainCaps instance.
      12209ba5