1. 01 12月, 2017 1 次提交
    • P
      qemu: domain: Fix backing store terminator for non-backing local files · adcc31bb
      Peter Krempa 提交于
      Raw local files do not pass through the backing store detector and thus
      the code did not allocate the required backing store terminator for
      them. Previously the terminating element would be formatted into the XML
      since the default values used for the metadata allowed that. This is a
      regression since a693fdba which was not detected in the review.
      
      This patch also reverts all the changes in the test files.
      adcc31bb
  2. 17 10月, 2017 1 次提交
    • P
      Terminate backing chains explicitly · a693fdba
      Peter Krempa 提交于
      Express a properly terminated backing chain by putting a
      virStorageSource of type VIR_STORAGE_TYPE_NONE in the chain. The newly
      used helpers simplify this greatly.
      
      The change fixes a bug as formatting an incomplete backing chain and
      parsing it back would end up in expressing a terminated chain since
      src->backingStoreRaw was not populated. By relying on the terminator
      object this can be now processed appropriately.
      a693fdba
  3. 11 4月, 2017 1 次提交
  4. 25 7月, 2016 1 次提交
    • T
      qemuhotplugtest: Add tests for ccw devices · ed8f2364
      Tomasz Flendrich 提交于
      There's a plan to rework the address handling, so testcases
      that verify hotplugging ccw devices will help in avoiding
      regression.
      
      In this commit, some files are duplicated because of the way
      qemuhotplug.c calculates the expected xml filenames.
      I plan on changing that to explicitly stating the basis domain
      xml, the device xml, and the expected xml.
      ed8f2364
  5. 21 7月, 2016 1 次提交
  6. 11 7月, 2016 2 次提交
  7. 09 6月, 2016 1 次提交
  8. 27 1月, 2016 1 次提交
    • P
      device: cleanup input device code · 36785c7e
      Pavel Hrdina 提交于
      The current code was a little bit odd.  At first we've removed all
      possible implicit input devices from domain definition to add them later
      back if there was any graphics device defined while parsing XML
      description.  That's not all, while formating domain definition to XML
      description we at first ignore any input devices with bus different to
      USB and VIRTIO and few lines later we add implicit input devices to XML.
      
      This seems to me as a lot of code for nothing.  This patch may look
      to be more complicated than original approach, but this is a preferred
      way to modify/add driver specific stuff only in those drivers and not
      deal with them in common parsing/formating functions.
      
      The update is to add those implicit input devices into config XML to
      follow the real HW configuration visible by guest OS.
      
      There was also inconsistence between our behavior and QEMU's in the way,
      that in QEMU there is no way how to disable those implicit input devices
      for x86 architecture and they are available always, even without graphics
      device.  This applies also to XEN hypervisor.  VZ driver already does its
      part by putting correct implicit devices into live XML.
      Signed-off-by: NPavel Hrdina <phrdina@redhat.com>
      36785c7e
  9. 05 9月, 2014 1 次提交
  10. 26 8月, 2013 3 次提交