1. 24 6月, 2020 1 次提交
  2. 23 6月, 2020 2 次提交
  3. 10 6月, 2020 1 次提交
  4. 09 6月, 2020 2 次提交
  5. 04 6月, 2020 1 次提交
    • M
      Use more of VIR_XPATH_NODE_AUTORESTORE · d3a7479c
      Michal Privoznik 提交于
      This is convenience macro, use it more. This commit was generated
      using the following spatch:
      
        @@
        symbol node;
        identifier old;
        identifier ctxt;
        type xmlNodePtr;
        @@
        - xmlNodePtr old;
        + VIR_XPATH_NODE_AUTORESTORE(ctxt);
          ...
        - old = ctxt->node;
          ... when != old
        - ctxt->node = old;
      
        @@
        symbol node;
        identifier old;
        identifier ctxt;
        type xmlNodePtr;
        @@
        - xmlNodePtr old = ctxt->node;
        + VIR_XPATH_NODE_AUTORESTORE(ctxt);
          ... when != old
        - ctxt->node = old;
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      Reviewed-by: NJán Tomko <jtomko@redhat.com>
      d3a7479c
  6. 26 5月, 2020 1 次提交
  7. 12 5月, 2020 2 次提交
  8. 05 5月, 2020 1 次提交
  9. 27 4月, 2020 3 次提交
  10. 24 4月, 2020 1 次提交
  11. 22 4月, 2020 1 次提交
  12. 21 4月, 2020 2 次提交
    • J
      conf: add xen hypervisor feature 'passthrough' · fadbaa23
      Jim Fehlig 提交于
      'passthrough' is Xen-Specific guest configuration option new to Xen 4.13
      that enables IOMMU mappings for a guest and hence whether it supports PCI
      passthrough. The default is disabled. See the xl.cfg(5) man page and
      xen.git commit babde47a3fe for more details.
      
      The default state of disabled prevents hotlugging PCI devices. However,
      if the guest configuration contains a PCI passthrough device at time of
      creation, libxl will automatically enable 'passthrough' and subsequent
      hotplugging of PCI devices will also be possible. It is not possible to
      unconditionally enable 'passthrough' since it would introduce a migration
      incompatibility due to guest ABI change. Instead, introduce another Xen
      hypervisor feature that can be used to enable guest PCI passthrough
      
        <features>
          <xen>
            <passthrough state='on'/>
          </xen>
        </features>
      
      To allow finer control over how IOMMU maps to guest P2M table, the
      passthrough element also supports a 'mode' attribute with values
      restricted to snyc_pt and share_pt, similar to xl.cfg(5) 'passthrough'
      setting .
      Signed-off-by: NJim Fehlig <jfehlig@suse.com>
      Reviewed-by: NMichal Privoznik <mprivozn@redhat.com>
      fadbaa23
    • M
      conf: add xen specific feature: e820_host · b7d6648d
      Marek Marczykowski-Górecki 提交于
      e820_host is a Xen-specific option, only available for PV domains, that
      provides the domain a virtual e820 memory map based on the host one. It
      is enabled with a new Xen hypervisor feature, e.g.
      
        <features>
          <xen>
            <e820_host state='on'/>
          </xen>
        </features>
      
      e820_host is required when using PCI passthrough and is generally
      considered safe for any PV kernel. e820_host is silently ignored if set
      in HVM domain configuration. See xl.cfg(5) man page in the Xen
      documentation for more details.
      Signed-off-by: NMarek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
      Reviewed-by: NJim Fehlig <jfehlig@suse.com>
      b7d6648d
  13. 15 4月, 2020 1 次提交
  14. 13 4月, 2020 1 次提交
    • L
      conf: new attribute "hotplug" for pci controllers · 78f4d5e6
      Laine Stump 提交于
      a <controller type='pci'...> element can now have a "hotplug"
      attribute in the <target> subelement. This is intended to control
      whether or not the slot(s) of the controller support
      hotplugging/unplugging a device:
      
         <controller type='pci' model='pcie-root-port'>
           <target hotplug='off'/>
         </controller>
      
      The default value of hotplug is "on".
      
      Since support for configuring such an option is hypervisor-dependent
      (and will vary among different types of PCI controllers even on a
      single hypervisor), no validation is done in this patch - that
      validation will be done in the patch that wires support for the
      setting into the hypervisor.
      Signed-off-by: NLaine Stump <laine@redhat.com>
      Reviewed-by: NMichal Privoznik <mprivozn@redhat.com>
      78f4d5e6
  15. 10 4月, 2020 1 次提交
    • J
      conf: Add a new xenbus controller option for event channels · 8e669b38
      Jim Fehlig 提交于
      Event channels are like PV interrupts and in conjuction with grant frames
      form a data transfer mechanism for PV drivers. They are also used for
      inter-processor interrupts. Guests with a large number of vcpus and/or
      many PV devices many need to increase the maximum default value of 1023.
      For this reason the native Xen config format supports the
      'max_event_channels' setting. See xl.cfg(5) man page for more details.
      
      Similar to the existing maxGrantFrames option, add a new xenbus controller
      option 'maxEventChannels', allowing to adjust the maximum value via libvirt.
      Signed-off-by: NJim Fehlig <jfehlig@suse.com>
      Reviewed-by: NDaniel P. Berrangé <berrange@redhat.com>
      8e669b38
  16. 08 4月, 2020 1 次提交
  17. 07 4月, 2020 1 次提交
  18. 06 4月, 2020 1 次提交
  19. 30 3月, 2020 1 次提交
  20. 25 3月, 2020 7 次提交
  21. 24 3月, 2020 4 次提交
  22. 23 3月, 2020 1 次提交
  23. 18 3月, 2020 2 次提交
  24. 16 3月, 2020 1 次提交