1. 17 6月, 2016 7 次提交
    • 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
    • M
      qemu: Follow coding style convention · 0aaeff96
      Martin Kletzander 提交于
      Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
      0aaeff96
    • M
      qemu: Unify automatic coredump filenames · 5e125782
      Martin Kletzander 提交于
      Just create a helper for it and use it.
      Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
      5e125782
  2. 16 6月, 2016 5 次提交
  3. 15 6月, 2016 1 次提交
  4. 14 6月, 2016 6 次提交
  5. 10 6月, 2016 6 次提交
  6. 09 6月, 2016 15 次提交