1. 24 9月, 2013 27 次提交
  2. 23 9月, 2013 4 次提交
  3. 21 9月, 2013 1 次提交
  4. 20 9月, 2013 8 次提交
    • M
      qemu: Fix seamless SPICE migration · 484cc321
      Martin Kletzander 提交于
      Since the wait is done during migration (still inside
      QEMU_ASYNC_JOB_MIGRATION_OUT), the code should enter the monitor as such
      in order to prohibit all other jobs from interfering in the meantime.
      This patch fixes bug #1009886 in which qemuDomainGetBlockInfo was
      waiting on the monitor condition and after GetSpiceMigrationStatus
      mangled its internal data, the daemon crashed.
      
      Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1009886
      484cc321
    • D
      VMware: Make version parsing testable and add tests · 7457cbe8
      Doug Goldstein 提交于
      This splits up the version parsing code into a callable API like QEMU
      help/version string parsing so that we can test it as we need to add
      additional patterns for newer versions/products.
      7457cbe8
    • D
      VMware: Store vmrun binary's path in the driver · e7a1ce9d
      Doug Goldstein 提交于
      Rather than looking up the path to vmrun each time we call it, look it
      up once and save it. This sets up the ability for us to detect where the
      path is on Mac OS X and not have to look it up each time we execute it.
      e7a1ce9d
    • D
      VMware: Convert driver type defines to enum · ea5805ed
      Doug Goldstein 提交于
      The VMware driver supports multiple backends for the VMware Player and
      VMware Workstation, convert this logic into enum and use VIR_ENUM_IMPL()
      to provide conversions to and from strings.
      ea5805ed
    • J
      Don't dereference NULL in qemumonitorjsontest · 5b36ab90
      Ján Tomko 提交于
      In case of an error, qemuMonitorTestNewSimple returns NULL.
      Error out instead of dereferencing it.
      
      Found by Coverity, reported by John Ferlan.
      5b36ab90
    • D
      Add checking of dbus_message_iter_append_basic return value · 83c24493
      Daniel P. Berrange 提交于
      Coverity complains that the test suite did not check the
      return value of dbus_message_iter_append_basic() as we did
      in most other places.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      83c24493
    • L
      qemu: use "ide" as device name for implicit SATA controller on Q35 · 30bb4c4b
      Laine Stump 提交于
      This resolves https://bugzilla.redhat.com/show_bug.cgi?id=1008903
      
      The Q35 machinetype has an implicit SATA controller at 00:1F.2 which
      isn't given the "expected" id of ahci0 by qemu when it's created. The
      original suggested solution to this problem was to not specify any
      controller for the disks that use the default controller and just
      specify "unit=n" instead; qemu should then use the first IDE or SATA
      controller for the disk.
      
      Unfortunately, this "solution" is ignorant of the fact that in the
      case of SATA disks, the "unit" attribute in the disk XML is actually
      *not* being used for the unit, but is instead used to specify the
      "bus" number; each SATA controller has 6 buses, and each bus only
      allows a single unit. This makes it nonsensical to specify unit='n'
      where n is anything other than 0. It also means that the only way to
      connect more than a single device to the implicit SATA controller is
      to explicitly give the bus names, which happen to be "ide.$n", where
      $n can be replaced by the disk's "unit" number.
      30bb4c4b
    • J
      daemon: Avoid dead code in polkit auth · 604ae657
      Jiri Denemark 提交于
      604ae657