1. 06 10月, 2016 14 次提交
  2. 05 10月, 2016 19 次提交
  3. 04 10月, 2016 1 次提交
  4. 30 9月, 2016 6 次提交
    • 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
    • P
      qemu: Fix coldplug of vcpus · 80ea1cf6
      Peter Krempa 提交于
      virDomainDefSetVcpus was not designed to handle coldplug of vcpus now
      that we can set state of vcpus individually.
      
      Introduce qemuDomainSetVcpusConfig that properly handles state changes
      of vcpus when coldplugging so that invalid configurations are not
      created.
      
      Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1375939
      80ea1cf6
    • P
      qemu: process: Enforce 'vcpu' order range to <1,maxvcpus> · 6ff3e650
      Peter Krempa 提交于
      The current code that validates duplicate vcpu order would not work
      properly if the order would exceed def->maxvcpus. Limit the order to the
      interval described.
      6ff3e650
    • P
      qemu: process: Don't use shifted indexes for vcpu order verification · 8924f1b2
      Peter Krempa 提交于
      Allocate a one larger bitmap rather than shifting the indexes back to
      zero.
      8924f1b2
    • P
      qemu: process: Fix off-by-one in vcpu order duplicate error message · 3d5dd289
      Peter Krempa 提交于
      The bitmap indexes for the order duplicate check are shifted to 0 since
      vcpu order 0 is not allowed. The error message doesn't need such
      treating though.
      
      Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1370360
      3d5dd289
    • 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