1. 23 7月, 2018 4 次提交
  2. 19 7月, 2018 3 次提交
    • E
      conf: Introduce new video type 'none' · d48813e8
      Erik Skultety 提交于
      Historically, we've always enabled an emulated video device every time we
      see that graphics should be supported with a guest. With the appearance
      of mediated devices which can support QEMU's vfio-display capability,
      users might want to use such a device as the only video device.
      Therefore introduce a new, effectively a 'disable', type for video
      device.
      Reviewed-by: NJán Tomko <jtomko@redhat.com>
      Signed-off-by: NErik Skultety <eskultet@redhat.com>
      d48813e8
    • E
      conf: Introduce new <hostdev> attribute 'display' · d54e45b6
      Erik Skultety 提交于
      QEMU 2.12 introduced a new type of display for mediated devices using
      vfio-pci backend which allows a mediated device to be used as a VGA
      compatible device as an alternative to an emulated video device. QEMU
      exposes this feature via a vfio device property 'display' with supported
      values 'on/off/auto' (libvirt will default to 'off').
      
      This patch adds the necessary bits to domain config handling in order to
      expose this feature. Since there's no convenient way for libvirt to come
      up with usable defaults for the display setting, simply because libvirt
      is not able to figure out which of the display implementations - dma-buf
      which requires OpenGL support vs vfio regions which doesn't need OpenGL
      (works with OpenGL enabled too) - the underlying mdev uses.
      Reviewed-by: NJán Tomko <jtomko@redhat.com>
      Signed-off-by: NErik Skultety <eskultet@redhat.com>
      d54e45b6
    • E
      qemu: Introduce a new graphics display type 'headless' · d8266ebe
      Erik Skultety 提交于
      Since 2.10 QEMU supports a new display type egl-headless which uses the
      drm nodes for OpenGL rendering copying back the rendered bits back to
      QEMU into a dma-buf which can be accessed by standard "display" apps
      like VNC or SPICE. Although this display type can be used on its own,
      for any practical use case it makes sense to pair it with either VNC or
      SPICE display. The clear benefit of this display is that VNC gains
      OpenGL support, which it natively doesn't have, and SPICE gains remote
      OpenGL support (native OpenGL support only works locally through a UNIX
      socket, i.e. listen type=socket/none).
      Reviewed-by: NJán Tomko <jtomko@redhat.com>
      Signed-off-by: NErik Skultety <eskultet@redhat.com>
      d8266ebe
  3. 18 7月, 2018 1 次提交
  4. 10 7月, 2018 1 次提交
  5. 03 7月, 2018 2 次提交
  6. 26 6月, 2018 2 次提交
  7. 19 6月, 2018 1 次提交
  8. 08 6月, 2018 2 次提交
  9. 06 6月, 2018 2 次提交
  10. 05 6月, 2018 4 次提交
  11. 01 6月, 2018 1 次提交
  12. 29 5月, 2018 1 次提交
  13. 25 5月, 2018 1 次提交
    • J
      conf: Add VM Generation ID parse/format support · b50efe97
      John Ferlan 提交于
      The VM Generation ID is a mechanism to provide a unique 128-bit,
      cryptographically random, and integer value identifier known as
      the GUID (Globally Unique Identifier) to the guest OS. The value
      is used to help notify the guest operating system when the virtual
      machine is executed with a different configuration.
      
      This patch adds support for a new "genid" XML element similar to
      the "uuid" element. The "genid" element can have two forms "<genid/>"
      or "<genid>$GUID</genid>". If the $GUID is not provided, libvirt
      will generate one and save it in the XML.
      
      Since adding support for a generated GUID (or UUID like) value to
      be displayed modifying the xml2xml test to include virrandommock.so
      is necessary since it will generate a "known" value.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      ACKed-by: NMichal Privoznik <mprivozn@redhat.com>
      b50efe97
  14. 23 5月, 2018 1 次提交
  15. 16 5月, 2018 1 次提交
  16. 15 5月, 2018 1 次提交
  17. 14 5月, 2018 1 次提交
  18. 11 5月, 2018 1 次提交
  19. 04 5月, 2018 1 次提交
    • C
      conf: format/parse <vmcoreinfo> as tristate · c84be081
      Cole Robinson 提交于
      <features><vmcoreinfo/> is a bare boolean XML property. We don't really
      use this format anymore and instead prefer tristate <X state=on|off/>
      since it's required for modeling on/off/default. If for example future
      qemu started enabling vmcoreinfo by default we wouldn't have any way
      for the user to turn this off.
      
      Convert it to tristate. For writing XML this is semanticly the same,
      <vmcoreinfo/> is processed as <vmcoreinfo state='on'/>.
      
      For apps reading guest XML this is technically an API change,
      as they might misinterpret <vmcoreinfo state='off'/>, however this
      has only been present in libvirt since 3.10.0 and I don't think any
      apps are dependent on this yet
      Reviewed-by: NJohn Ferlan <jferlan@redhat.com>
      Signed-off-by: NCole Robinson <crobinso@redhat.com>
      c84be081
  20. 03 5月, 2018 1 次提交
  21. 23 4月, 2018 2 次提交
  22. 06 4月, 2018 2 次提交
  23. 24 3月, 2018 3 次提交
  24. 22 3月, 2018 1 次提交