1. 11 5月, 2016 2 次提交
    • L
      docs: fix version number in vlan tagging documentation · f21017ab
      Laine Stump 提交于
      My brain suffered a time warp and I got the version number wrong.
      f21017ab
    • L
      util: set vlan tag for macvtap passthrough mode on SRIOV VFs · 75db9997
      Laine Stump 提交于
      SRIOV VFs used in macvtap passthrough mode can take advantage of the
      SRIOV card's transparent vlan tagging. All the code was there to set
      the vlan tag, and it has been used for SRIOV VFs used for hostdev
      interfaces for several years, but for some reason, the vlan tag for
      macvtap passthrough devices was stubbed out with a -1.
      
      This patch moves a bit of common validation down to a lower level
      (virNetDevReplaceNetConfig()) so it is shared by hostdev and macvtap
      modes, and updates the macvtap caller to actually send the vlan config
      instead of -1.
      75db9997
  2. 04 5月, 2016 3 次提交
  3. 03 5月, 2016 1 次提交
  4. 02 5月, 2016 2 次提交
  5. 30 4月, 2016 1 次提交
    • L
      Revert "libvirt domain xml allow to set peer address" · 1d14b13f
      Laine Stump 提交于
      This reverts commit 690969af, which
      added the domain config parts to support a "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.
      1d14b13f
  6. 26 4月, 2016 1 次提交
  7. 25 4月, 2016 1 次提交
    • A
      docs: Fix some formatting oddities · 7867c579
      Andrea Bolognani 提交于
      When describing attributes and elements, we mostly stick to
      a certain pattern; however, there are a few cases when the
      information is not presented in the usual way.
      
      Since there doesn't seem to be any reason not to follow the
      tried and true formula, rework those bits to fit the rest of
      the documentation.
      7867c579
  8. 22 4月, 2016 1 次提交
  9. 21 4月, 2016 1 次提交
  10. 20 4月, 2016 1 次提交
  11. 15 4月, 2016 4 次提交
    • L
      conf: new pci controller model pcie-expander-bus · bc07251f
      Laine Stump 提交于
      This controller provides a single PCIe port on a new root. It is
      similar to pci-expander-bus, intended to provide a bus that can be
      associated with a guest-identifiable NUMA node, but is for
      machinetypes with PCIe rather than PCI (e.g. q35-based machinetypes).
      
      Aside from PCIe vs. PCI, the other main difference is that a
      pci-expander-bus has a companion pci-bridge that is automatically
      attached along with it, but pcie-expander-bus has only a single port,
      and that port will only connect to a pcie-root-port, or to a
      pcie-switch-upstream-port. In order for the bus to be of any use in
      the guest, it must have either a pcie-root-port or a
      pcie-switch-upstream-port attached (and one or more
      pcie-switch-downstream-ports attached to the
      pcie-switch-upstream-port).
      bc07251f
    • L
      conf: new pci controller model pci-expander-bus · 52f3d0a4
      Laine Stump 提交于
      This is a standard PCI root bus (not a bridge) that can be added to a
      440fx-based domain. Although it uses a PCI slot, this is *not* how it
      is connected into the PCI bus hierarchy, but is only used for
      control. Each pci-expander-bus provides 32 slots (0-31) that can
      accept hotplug of standard PCI devices.
      
      The usefulness of pci-expander-bus relative to a pci-bridge is that
      the NUMA node of the bus can be specified with the <node> subelement
      of <target>. This gives guest-side visibility to the NUMA node of
      attached devices (presuming that management apps only assign a device
      to a bus that has a NUMA node number matching the node number of the
      device on the host).
      
      Each pci-expander-bus also has a "busNr" attribute. The expander-bus
      itself will take the busNr specified, and all buses that are connected
      to this bus (including the pci-bridge that is automatically added to
      any expander bus of model "pxb" (see the next commit)) will use
      busNr+1, busNr+2, etc, and the pci-root (or the expander-bus with next
      lower busNr) will use bus numbers lower than busNr.
      52f3d0a4
    • C
      docs: formatdomain: document versions for video acceleration · ea9c3da4
      Cole Robinson 提交于
      clarify what version initial support was added, and when libvirt
      started supporting it for the qemu driver
      
      https://bugzilla.redhat.com/show_bug.cgi?id=657931
      ea9c3da4
    • C
      docs: domain: document blkiotune {read, write}_{bytes, iops}_sec · fd52de12
      Cole Robinson 提交于
      Added with commit 3b431929 in v1.2.2 but never documented
      
      https://bugzilla.redhat.com/show_bug.cgi?id=1313613
      fd52de12
  12. 08 4月, 2016 2 次提交
  13. 05 4月, 2016 1 次提交
  14. 30 3月, 2016 1 次提交
  15. 29 3月, 2016 2 次提交
    • J
      docs: Update the hyperv feature qemu supported version · 53d2ca5f
      John Ferlan 提交于
      In order to follow recent comments which indicate support for specific
      feature bits are supported by a specific QEMU version add the version
      from whence the relaxed, vapic, and spinlocks support was added.
      53d2ca5f
    • M
      conf: qemu: Add support for more HyperV Enlightenment features · 7068b56c
      Maxim Nestratov 提交于
      This patch adds support for "vpindex", "runtime", "synic",
      "stimer", and "vendor_id" features available in qemu 2.5+.
      
      - When Hyper-V "vpindex" is on, guest can use MSR HV_X64_MSR_VP_INDEX
      to get virtual processor ID.
      
      - Hyper-V "runtime" enlightement feature allows to use MSR
      HV_X64_MSR_VP_RUNTIME to get the time the virtual processor consumes
      running guest code, as well as the time the hypervisor spends running
      code on behalf of that guest.
      
      - Hyper-V "synic" stands for Synthetic Interrupt Controller, which is
      lapic extension controlled via MSRs.
      
      - Hyper-V "stimer" switches on Hyper-V SynIC timers MSR's support.
      Guest can setup and use fired by host events (SynIC interrupt and
      appropriate timer expiration message) as guest clock events
      
      - Hyper-V "reset" allows guest to reset VM.
      
      - Hyper-V "vendor_id" exposes hypervisor vendor id to guest.
      Signed-off-by: NNikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      7068b56c
  16. 21 3月, 2016 1 次提交
    • J
      conf: add 'state' attribute to <hap> feature · 9d243e08
      Jim Fehlig 提交于
      Most hypervisors use Hardware Assisted Paging by default and don't
      require specifying the feature in domain conf. But some hypervisors
      support disabling HAP on a per-domain basis. To enable HAP by default
      yet provide a knob to disable it, extend the <hap> feature with a
      'state=on|off' attribute, similar to <pvspinlock> and <vmport> features.
      
      In the absence of <hap>, the hypervisor default (on) is used. <hap>
      without the state attribute would be the same as <hap state='on'/> for
      backwards compatibility. And of course <hap state='off'/> disables hap.
      Signed-off-by: NJim Fehlig <jfehlig@suse.com>
      9d243e08
  17. 17 3月, 2016 1 次提交
  18. 10 3月, 2016 1 次提交
    • D
      conf: allow use of a logfile with chardev backends · 00ce10c7
      Daniel P. Berrange 提交于
      Extend the chardev source XML so that there is a new optional
      <log/> element, which is applicable to all character device
      backend types. For example, to log output of a TCP backed
      serial port
      
          <serial type='tcp'>
            <source mode='connect' host='127.0.0.1' service='9999'/>
            <protocol type='raw'/>
            <log file='/var/log/libvirt/qemu/demo-serial0.log' append='on'/>
            <target port='0'/>
          </serial>
      
      Not all hypervisors will support use of logfiles.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      00ce10c7
  19. 01 3月, 2016 4 次提交
  20. 26 2月, 2016 1 次提交
  21. 20 2月, 2016 1 次提交
    • A
      docs: List possible GIC versions · ff0e2ebd
      Andrea Bolognani 提交于
      Recent changes to the handling of GIC version, specifically commit
      2a7b11ea, have clearly defined what values are acceptable for the
      version attribute of the <gic> element. Update the documentation
      accordingly.
      ff0e2ebd
  22. 15 2月, 2016 1 次提交
  23. 12 1月, 2016 1 次提交
    • D
      conf: introduce 'autodeflate' attribute for memballoon device · 7bf3198d
      Dmitry Andreev 提交于
      Excessive memory balloon inflation can cause invocation of OOM-killer,
      when Linux is under severe memory pressure. QEMU memballoon device
      has a feature to release some memory at the last moment before some
      process will be get killed by OOM-killer.
      
      Introduce a new optional balloon device attribute 'autodeflate' to
      enable or disable this feature.
      7bf3198d
  24. 06 1月, 2016 1 次提交
    • W
      rbd: Do not append Ceph monitor port number 6789 if not provided · 6343018f
      Wido den Hollander 提交于
      If no port number was provided for a storage pool libvirt defaults to
      port 6789; however, librbd/librados already default to 6789 when no port
      number is provided.
      
      In the future Ceph will switch to a new port for the Ceph monitors since
      port 6789 is already assigned to a different application by IANA.
      
      Port 6789 is assigned to SMC-HTTPS and Ceph now has port 3300 assigned as
      the 'Ceph monitor' port.
      
      In this case it is the best solution to not hardcode any port number into
      libvirt and let librados handle the connection.
      
      Only if a user specifies a different port number we pass it down to librados,
      otherwise we leave it blank.
      Signed-off-by: NWido den Hollander <wido@widodh.nl>
      
      merge
      6343018f
  25. 05 1月, 2016 1 次提交
  26. 30 11月, 2015 2 次提交
  27. 27 11月, 2015 1 次提交