1. 03 8月, 2012 3 次提交
  2. 01 8月, 2012 15 次提交
  3. 30 7月, 2012 4 次提交
    • A
      Merge remote-tracking branch 'mst/tags/for_anthony' into staging · 5e3bc714
      Anthony Liguori 提交于
      * mst/tags/for_anthony:
        msi/msix: added API to set MSI message address and data
        pci: Add INTx routing notifier
        pci: Add pci_device_route_intx_to_irq
        pci: Unregister BARs before device exit
        pci: convert PCIUnregisterFunc to void
        msix: Switch msix_uninit to return void
        msix: Allow full specification of MSIX layout
        msix: Split PBA into it's own MemoryRegion
        msix: Note endian TODO item
        msix: Move msix_mmio_read
        virtio: Convert to msix_init_exclusive_bar() interface
        ivshmem: Convert to msix_init_exclusive_bar() interface
        msix: Add simple BAR allocation MSIX setup functions
        msix: fix PCIDevice naming inconsistency
        msix: drop unused msix_bar_size, require valid bar_size
      5e3bc714
    • A
      Merge remote-tracking branch 'bonzini/nbd-next' into staging · 4dd533aa
      Anthony Liguori 提交于
      * bonzini/nbd-next:
        qemu-nbd: add --cache and --aio options
        qemu-nbd: reorganize help message
      4dd533aa
    • A
      Merge remote-tracking branch 'bonzini/scsi-next' into staging · d4a06f46
      Anthony Liguori 提交于
      * 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
        ...
      d4a06f46
    • A
      Merge commit 'quintela/migration-next-v5' into staging · e6a76719
      Anthony Liguori 提交于
      * 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
      e6a76719
  4. 29 7月, 2012 4 次提交
    • M
      Merge branch pci into master · 5e59b024
      Michael S. Tsirkin 提交于
      Merge master and pci branch, resolve build breakage in hw/esp.c
      introduced by f90c2bcd.
      
      Conflicts:
      	hw/esp.c
      5e59b024
    • V
      x86: Fixed incorrect segment base address addition in 64-bits mode · 7162ab21
      Vitaly Chipounov 提交于
      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: NVitaly Chipounov <vitaly.chipounov@epfl.ch>
      Reviewed-by: NMax Filippov <jcmvbkbc@gmail.com>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      7162ab21
    • P
      place qemu-sockets.c contributions since 2012-01-13 under GPLv2+ · e6d91ab6
      Paolo Bonzini 提交于
      Past contributions since 2012-01-13 were only made by Red Hat people,
      so they are already available under GPLv2+.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Reviewed-by: NStefan Weil <sw@weilnetz.de>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      e6d91ab6
    • D
      build: Fix linking failure for qemu-ga · 54c2e502
      Dunrong Huang 提交于
      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: NDunrong Huang <riegamaths@gmail.com>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      54c2e502
  5. 28 7月, 2012 14 次提交