1. 25 3月, 2012 12 次提交
  2. 24 3月, 2012 8 次提交
  3. 20 3月, 2012 12 次提交
  4. 19 3月, 2012 8 次提交
    • P
      scsi: add get_dev_path · baa1bd89
      Paolo Bonzini 提交于
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      baa1bd89
    • P
      virtio-scsi: call unregister_savevm properly · eb2fa764
      Paolo Bonzini 提交于
      This fixes a use-after-free when migrating after hot-unplug.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      eb2fa764
    • P
      scsi: copy serial number into VPD page 0x83 · fd930791
      Paolo Bonzini 提交于
      Currently QEMU passes the qdev device id to the guest in an ASCII-string
      designator in page 0x83.  While this is fine, it does not match what
      real hardware does; usually the ASCII-string designator there hosts
      another copy of the serial number (there can be other designators,
      for example with a world-wide name).  Do the same for QEMU SCSI
      disks.
      
      ATAPI does not support VPD pages, so it does not matter there.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      fd930791
    • P
      scsi-cd: check ready condition before processing several commands · 9bcaf4fe
      Paolo Bonzini 提交于
      This commit is more or less obvious.  What it caused is less obvious:
      SCSI CD drives failed to eject under Linux, though for example the
      "change" command worked okay.  This happens because of the autoclose
      option in the Linux CD-ROM driver.
      
      The actual chain of events is quite complex and somehow involves
      udev helpers; the actual command that matters is READ TOC, though
      honestly it's not really clear to me how because it should always be
      invoked after autoclose, not before.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      9bcaf4fe
    • P
      get rid of CONFIG_VIRTIO_SCSI · 7725d146
      Paolo Bonzini 提交于
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      7725d146
    • A
      Merge remote-tracking branch 'qemu-kvm/memory/urgent' into staging · b8b3e756
      Anthony Liguori 提交于
      * qemu-kvm/memory/urgent: (42 commits)
        memory: check for watchpoints when getting code ram_addr
        exec: fix write tlb entry misused as iotlb
        Sparc: avoid AREG0 wrappers for memory access helpers
        Sparc: avoid AREG0 for memory access helpers
        TCG: add 5 arg helpers to def-helper.h
        softmmu templates: optionally pass CPUState to memory access functions
        i386: Remove REGPARM
        sparc64: implement PCI and ISA irqs
        sparc: reset CPU state on reset
        apb: use normal PCI device header for PBM device
        w64: Fix data type of next_tb and tcg_qemu_tb_exec
        softfloat: fix for C99
        vmstate: fix varrays with uint32_t indexes
        Fix large memory chunks allocation with tcg_malloc.
        hw/pxa2xx.c: Fix handling of pxa2xx_i2c variable offset within region
        hw/pxa2xx_lcd.c: drop target_phys_addr_t usage in device state
        hw/pxa2xx_dma.c: drop target_phys_addr_t usage in device state
        ARM: Remove unnecessary subpage workarounds
        malta: Fix display for LED array
        malta: Use symbolic hardware addresses
        ...
      b8b3e756
    • A
      Merge remote-tracking branch 'qmp/queue/qmp' into staging · 5c20f4e5
      Anthony Liguori 提交于
      * qmp/queue/qmp:
        qapi: Convert migrate
        Purge migration of (almost) everything to do with monitors
        Error: Introduce error_copy()
        QError: Introduce new errors for the migration command
      5c20f4e5
    • A
      spice: fix broken initialization · ad1be899
      Alon Levy 提交于
      Commit 1b71f7c1 moved MODULE_INIT_QOM to
      way before MODULE_INIT_MACHINE, thereby breaking assumptions made in
      spice-core.c which registered both a type initializer and a machine
      intializer.
      
      This fix removes the type registration, and replaces it with calling
      qemu_spice_init in vl.c after command line parsing (second pass) is
      done, and after timers are armed, required by spice server.
      Signed-off-by: NAlon Levy <alevy@redhat.com>
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      ad1be899