1. 08 3月, 2017 1 次提交
  2. 04 3月, 2017 1 次提交
  3. 22 2月, 2017 2 次提交
  4. 17 2月, 2017 1 次提交
  5. 09 2月, 2017 1 次提交
    • J
      conf: Add new xml elements for file memorybacking support · bc6d3121
      Jaroslav Safka 提交于
      This part introduces new xml elements for file based
      memorybacking support and their parsing.
      (It allows vhost-user to be used without hugepages.)
      
      New xml elements:
      <memoryBacking>
        <source type="file|anonymous"/>
        <access mode="shared|private"/>
        <allocation mode="immediate|ondemand"/>
      </memoryBacking>
      bc6d3121
  6. 27 1月, 2017 1 次提交
  7. 26 1月, 2017 1 次提交
  8. 17 1月, 2017 1 次提交
  9. 12 1月, 2017 1 次提交
  10. 10 1月, 2017 2 次提交
  11. 16 12月, 2016 5 次提交
  12. 13 12月, 2016 1 次提交
  13. 07 12月, 2016 1 次提交
  14. 06 12月, 2016 1 次提交
  15. 25 11月, 2016 1 次提交
    • E
      conf: Wire up the vhost-scsi connection from/to XML · ae5d30a0
      Eric Farman 提交于
      With the QEMU components in place, provide the XML parsing to
      invoke that code when given the following XML snippet:
      
          <hostdev mode='subsystem' type='scsi_host'>
            <source protocol='vhost' wwpn='naa.501234567890abcd'/>
          </hostdev>
      
      An optional address element can be specified within the hostdev
      (pick CCW or PCI as necessary):
      
          <address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0625'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
      
      Add basic vhost-scsi tests which were cloned from hostdev-scsi-virtio-scsi
      in both xml2argv and xml2xml. Added ones for both vhost-scsi-ccw and
      vhost-scsi-pci since the syntaxes are slightly different between them.
      
      Also adjusted the docs to describe the changes.
      Signed-off-by: NEric Farman <farman@linux.vnet.ibm.com>
      Reviewed-by: NBoris Fiuczynski <fiuczy@linux.vnet.ibm.com>
      ae5d30a0
  16. 14 11月, 2016 1 次提交
  17. 02 11月, 2016 2 次提交
  18. 26 10月, 2016 1 次提交
  19. 24 10月, 2016 1 次提交
    • P
      domain: Add optional 'tls' attribute for TCP chardev · 0298531b
      Pavel Hrdina 提交于
      Add an optional "tls='yes|no'" attribute for a TCP chardev.
      
      For QEMU, this will allow for disabling the host config setting of the
      'chardev_tls' for a domain chardev channel by setting the value to "no" or
      to attempt to use a host TLS environment when setting the value to "yes"
      when the host config 'chardev_tls' setting is disabled, but a TLS environment
      is configured via either the host config 'chardev_tls_x509_cert_dir' or
      'default_tls_x509_cert_dir'
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      Signed-off-by: NPavel Hrdina <phrdina@redhat.com>
      0298531b
  20. 12 10月, 2016 1 次提交
  21. 08 10月, 2016 1 次提交
  22. 30 9月, 2016 2 次提交
    • P
      qemu: vcpu: Clear vcpu order information rather than making it invalid · a88c65e4
      Peter Krempa 提交于
      Certain operations may make the vcpu order information invalid. Since
      the order is primarily used to ensure migration compatibility and has
      basically no other user benefits, clear the order prior to certain
      operations and document that it may be cleared.
      
      All the operations that would clear the order can still be properly
      executed by defining a new domain configuration rather than using the
      helper APIs.
      
      Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1370357
      a88c65e4
    • L
      docs: correct version requirements for <kvm><hidden='on'/></kvm> · a46aa885
      Laine Stump 提交于
      When support was added for the kvm hidden='on' attribute in commit
      d07116, the version requirement was listed as "2.1.0 (QEMU
      only)". However, this was added when libvirt was at version 1.2.8 - it
      is *QEMU* that must be at version 2.1.0 or later.
      
      This went unnoticed for a very long time (over 2 years). Then a week
      or two ago a new Windows convert in the #virt channel on OFTC was told
      he needed to use this feature (to prevent nvidia drivers in a guest
      from refusing to work due to being run in a virtual machine). There
      was some problem with it being recognized and "someone" (it may have
      been me, or may have been someone else, I don't remember) pointed out
      that the documentation at
      
        http://www.libvirt.org/formatdomain.html
      
      says that it requires libvirt 2.1.0. The next several days were filled
      with agony as a new convert to Linux first tried to upgrade a Linux
      Mint host running their "LTS" version to something newer, then tried
      to install a libvirt build built for Ubuntu onto this, and later back
      to the old LTS Linux Mint. After this he tried building his own
      libvirt from source (with all the expected problems), and finally
      switched to Fedora. In the end it was hours and hours of everybody's
      lives that they will never get back. To now learn that he didn't need
      to do this (his original libvirt version was 1.3.3, so whatever his
      problem was, it was elsewhere) makes the pain all that much worse.
      
      To prevent this from happening again, this simple patch changes the
      version requirement for the kvm hidden attribute from "2.1.0 (QEMU
      only)" to "1.2.8 (QEMU 2.1.0)".
      a46aa885
  23. 28 9月, 2016 1 次提交
  24. 09 9月, 2016 1 次提交
  25. 03 9月, 2016 1 次提交
  26. 27 8月, 2016 1 次提交
  27. 26 8月, 2016 1 次提交
  28. 25 8月, 2016 2 次提交
    • P
      qemu: command: Add support for sparse vcpu topologies · 9eb9106e
      Peter Krempa 提交于
      Add support for using the new approach to hotplug vcpus using device_add
      during startup of qemu to allow sparse vcpu topologies.
      
      There are a few limitations imposed by qemu on the supported
      configuration:
      - vcpu0 needs to be always present and not hotpluggable
      - non-hotpluggable cpus need to be ordered at the beginning
      - order of the vcpus needs to be unique for every single hotpluggable
        entity
      
      Qemu also doesn't really allow to query the information necessary to
      start a VM with the vcpus directly on the commandline. Fortunately they
      can be hotplugged during startup.
      
      The new hotplug code uses the following approach:
      - non-hotpluggable vcpus are counted and put to the -smp option
      - qemu is started
      - qemu is queried for the necessary information
      - the configuration is checked
      - the hotpluggable vcpus are hotplugged
      - vcpus are started
      
      This patch adds a lot of checking code and enables the support to
      specify the individual vcpu element with qemu.
      9eb9106e
    • P
      conf: Add XML for individual vCPU hotplug · 5847bc5c
      Peter Krempa 提交于
      Individual vCPU hotplug requires us to track the state of any vCPU. To
      allow this add the following XML:
      
      <domain>
        ...
        <vcpu current='2'>3</vcpu>
        <vcpus>
          <vcpu id='0' enabled='yes' hotpluggable='no' order='1'/>
          <vcpu id='1' enabled='yes' hotpluggable='yes' order='2'/>
          <vcpu id='1' enabled='no' hotpluggable='yes'/>
        </vcpus>
        ...
      
      The 'enabled' attribute allows to control the state of the vcpu.
      'hotpluggable' controls whether given vcpu can be hotplugged and 'order'
      allows to specify the order to add the vcpus.
      5847bc5c
  29. 10 8月, 2016 1 次提交
  30. 04 8月, 2016 2 次提交
    • M
      Introduce @secure attribute to os loader element · 64c24800
      Michal Privoznik 提交于
      This element will control secure boot implemented by some
      firmwares. If the firmware used in <loader/> does support the
      feature we must tell it to the underlying hypervisor. However, we
      can't know whether loader does support it or not just by looking
      at the file. Therefore we have to have an attribute to the
      element where users can tell us whether the firmware is secure
      boot enabled or not.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      64c24800
    • M
      Introduce SMM feature · d0e4be9d
      Michal Privoznik 提交于
      Since its release of 2.4.0 qemu is able to enable System
      Management Module in the firmware, or disable it. We should
      expose this capability in the XML. Unfortunately, there's no good
      way to determine whether the binary we are talking to supports
      it. I mean, if qemu's run with real machine type, the smm
      attribute can be seen in 'qom-list /machine' output. But it's not
      there when qemu's run with -M none. Therefore we're stuck with
      version based check.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      d0e4be9d