1. 30 Jul, 2012 2 commits
    • Anthony Liguori's avatar
      Merge remote-tracking branch 'bonzini/scsi-next' into staging · d4a06f46
      Anthony Liguori authored
      * bonzini/scsi-next: (32 commits)
        virtio-scsi: enable MSI-X support
        virtio-scsi: add ioeventfd support
        virtio-scsi: report parameter change events
        virtio-scsi: do not report dropped events after reset
        virtio-scsi: Report missed events
        virtio-scsi: Implement hotplug support for virtio-scsi
        scsi: report parameter changes to HBA drivers
        scsi-disk: report resized disk via sense codes
        scsi: establish precedence levels for unit attention
        scsi: introduce hotplug() and hot_unplug() interfaces for SCSI bus
        scsi: add tracepoint for scsi_req_cancel
        scsi-disk: removable hard disks support load/eject
        scsi-disk: Fail medium writes with proper sense for readonly LUNs
        scsi-disk: improve the lba-out-of-range tests for read/write/verify
        scsi-disk: rd/wr/vr-protect !=0 is an error
        scsi-disk: support toggling the write cache
        scsi-disk: parse MODE SELECT commands and parameters
        scsi-disk: fix changeable values for MODE_PAGE_R_W_ERROR
        scsi-disk: adjust offsets in MODE SENSE by 2
        scsi-disk: support emulated TO_DEV requests
    • Anthony Liguori's avatar
      Merge commit 'quintela/migration-next-v5' into staging · e6a76719
      Anthony Liguori authored
      * commit '6c779f22':
        Change ram_save_block to return -1 if there are no more changes
        ram: save_live_setup() we don't need to synchronize the dirty bitmap.
        ram: iterate phase
        ram: save_live_complete() only do one loop
        ram: save_live_setup() don't need to sent pages
        savevm: split save_live into stage2 and stage3
        savevm: split save_live_setup from save_live_state
        savevm: introduce is_active method
        savevm: Refactor cancel operation in its own operation
        savevm: remove SaveLiveStateHandler
        savevm: remove SaveSetParamsHandler
        savevm: Live migration handlers register the struct directly
        savevm: Use a struct to pass all handlers
  2. 29 Jul, 2012 3 commits
    • Vitaly Chipounov's avatar
      x86: Fixed incorrect segment base address addition in 64-bits mode · 7162ab21
      Vitaly Chipounov authored
      According to the Intel manual
      "Intel® 64 and IA-32 Architectures Software Developer’s Manual
      Volume 3", "3.4.4 Segment Loading Instructions in IA-32e Mode":
      "When in compatibility mode, FS and GS overrides operate as defined by
      32-bit mode behavior regardless of the value loaded into the upper 32
      linear-address bits of the hidden descriptor register base field.
      Compatibility mode ignores the upper 32 bits when calculating an effective address."
      However, the code misses the 64-bit mode case, where an instruction with
      address and segment size override would be translated incorrectly. For example,
      inc dword ptr gs:260h[ebx*4] gets incorrectly translated to:
      (uint32_t)(gs.base + ebx * 4 + 0x260)
      instead of
      gs.base + (uint32_t)(ebx * 4 + 0x260)
      Signed-off-by: default avatarVitaly Chipounov <vitaly.chipounov@epfl.ch>
      Reviewed-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
      Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
    • Paolo Bonzini's avatar
      place qemu-sockets.c contributions since 2012-01-13 under GPLv2+ · e6d91ab6
      Paolo Bonzini authored
      Past contributions since 2012-01-13 were only made by Red Hat people,
      so they are already available under GPLv2+.
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      Reviewed-by: default avatarStefan Weil <sw@weilnetz.de>
      Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
    • Dunrong Huang's avatar
      build: Fix linking failure for qemu-ga · 54c2e502
      Dunrong Huang authored
      This patch will fix the following linking failed:
        LINK  qemu-ga
      gcc: error: qga/../qapi-generated/qga-qapi-types.o: No such file or directory
      gcc: error: qga/../qapi-generated/qga-qapi-visit.o: No such file or directory
      gcc: error: qga/../qapi-generated/qga-qmp-marshal.o: No such file or directory
      make: *** [qemu-ga] Error 1
      Commit cdc976b0
       changes the
      dependencies of qemu-ga to depend "../qapi-generated/qga-qapi-types.o",
      which will be expanded to "qga/../qapi-generated/qga-qapi-types.o" when
      building qemu-ga.
      In top-level Makefile, we defined a target "qapi-generated/qga-qapi-types.o"
      which was not equal to "qga/../qapi-generated/qga-qapi-types" in the
      Makefile world. So "No such file" error happened when qemu-ga was linking.
      The easy approach to fix is to change the target name to
      "qga/../qapi-generated/qga-qapi-types.o", but it is weird.
      So, in order to solve it more graciously, I move those temporary
      files(qga-qapi-*.{c,h}) qemu-ga depends on to qemu-ga/qapi-generated,
      this makes dependencies more clearer.
      Signed-off-by: default avatarDunrong Huang <riegamaths@gmail.com>
      Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
  3. 28 Jul, 2012 8 commits
  4. 27 Jul, 2012 27 commits