1. 24 6月, 2016 6 次提交
  2. 23 6月, 2016 4 次提交
    • C
      qemu: command: Error on accel2d · 7490fdec
      Cole Robinson 提交于
      qemu doesn't have any accel2d support wired up. Explicitly error
      if a user tries it out, or typos the accel3d option
      7490fdec
    • C
      qemu: command: Error on accel3d with non-virtio · 9a4703a3
      Cole Robinson 提交于
      We should be raising an error if accel3d is present for any
      non-virtio video as well, incase someone tries it for say 'qxl'
      9a4703a3
    • N
      qemu: make monitor command API available during async jobs · 6606ea96
      Nikolay Shirokovskiy 提交于
        One can not issue monitor commands manually during async calls thru
      designated API while this could be useful for testing/debugging purposes.
      qemuDomainQemuMonitorCommand uses job of type QEMU_JOB_MODIFY and any async
      call disable parallel execution of this type of job. The only state that is
      changed is taint variable. AFAIU the only place we can mess is resetting
      taint flag in qemuProcessStop routine under some async job. But this can not
      happen thanx to both virDomainObjIsActive check in qemuDomainQemuMonitorCommand
      and resetting active status in qemuProcessStop before taint flag.
      
        Change job type to QEMU_JOB_QUERY and thus make the API call available for
      most of async jobs.
      Signed-off-by: NNikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
      6606ea96
    • J
      Add newDomain parameter to qemuDomainAssignAddresses · 8b04ce59
      Ján Tomko 提交于
      Pass 'true' if we are not dealing with a migration.
      8b04ce59
  3. 22 6月, 2016 15 次提交
  4. 21 6月, 2016 1 次提交
  5. 20 6月, 2016 2 次提交
    • J
      Remove separator argument from virBitmapParse · ff52e9d4
      Ján Tomko 提交于
      Most the callers pass 0 in one form or another, including
      vircapstest which used VIR_ARCH_NONE.
      ff52e9d4
    • A
      qemu: Don't use legacy USB for aarch64 mach-virt guests · dc5821d7
      Andrea Bolognani 提交于
      The '-usb' option doesn't have any effect for aarch64 mach-virt
      guests, so the fact that it's currently enabled by default is not
      really causing any issue.
      
      However, that might change in the future (although unlikely), and
      having it as part of the QEMU command line can cause confusion to
      someone looking through the process list.
      
      Avoid it completely, like it's already happening for q35.
      dc5821d7
  6. 19 6月, 2016 1 次提交
  7. 18 6月, 2016 4 次提交
  8. 17 6月, 2016 7 次提交
    • A
      b31b3eee
    • P
    • P
      conf: Remove pre-calculation of initial memory size · a877a163
      Peter Krempa 提交于
      While we need to know the difference between the total memory stored in
      <memory> and the actual size not included in the possible memory modules
      we can't pre-calculate it reliably. This is due to the fact that
      libvirt's XML is copied via formatting and parsing the XML and the
      initial memory size can be reliably calculated only when certain
      conditions are met due to backwards compatibility.
      
      This patch removes the storage of 'initial_memory' and fixes the helpers
      to recalculate the initial memory size all the time from the total
      memory size. This conversion is possible when we also make sure that
      memory hotplug accounts properly for the update of the total memory size
      and thus the helpers for inserting and removing memory devices need to
      be tweaked too.
      
      This fixes a bug where a cold-plug and cold-remove of a memory device
      would increase the size reported in <memory> in the XML by the size of
      the memory device. This would happen as the persistent definition is
      copied before attaching the device and this would lead to the loss of
      data in 'initial_memory'.
      
      Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1344892
      a877a163
    • P
      qemu: perf: Don't set state of first event for every other event · da8285c4
      Peter Krempa 提交于
      A bug in the code used the value of the first perf event as state for
      all the mentioned one rather than extracting individual ones.
      
      Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1346730
      da8285c4
    • L
      qemu: don't add pci-bridge to Q35/arm domains unless it's needed · d5fb8f45
      Laine Stump 提交于
      Until now, a Q35 domain (or arm/virt, or any other domain that has a
      pcie-root bus) would always have a pci-bridge added, so that there
      would be a hotpluggable standard PCI slot available to plug in any PCI
      devices that might be added. This patch removes the explicit add,
      instead relying on the pci-bridge being auto-added during PCI address
      assignment (it will add a pci-bridge if there are no free slots).
      
      This doesn't eliminate the dmi-to-pci-bridge controller that is
      explicitly added whether or not a standard PCI slot is required (and
      that is almost never used as anything other than a converter between
      pcie.0's PCIe slots and standard PCI). That will be done separately.
      d5fb8f45
    • L
      qemu: don't be as insistent about adding dmi-to-pci-bridge or pci-bridge · 97b215a4
      Laine Stump 提交于
      Previously there was no way to have a Q35 domain that didn't have
      these two controllers. This patch skips their creation as long as
      there are some other kinds of pci controllers at index 1 and 2
      (e.g. some pcie-root-port controllers).
      
      I'm hoping that soon we won't add them at all, plugging all devices
      into auto-added pcie-*-port ports instead, but in the meantime this
      makes it easier to experiment with alternative bus hierarchies.
      97b215a4
    • M
      qemu: Remove useless block in processWatchdogEvent · bce3d20d
      Martin Kletzander 提交于
      Best viewed with -w since this is mostly just an indentation patch.
      Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
      bce3d20d