1. 03 Aug, 2012 1 commit
  2. 02 Aug, 2012 1 commit
    • Peter Maydell's avatar
      Support 'help' as a synonym for '?' in command line options · c8057f95
      Peter Maydell authored
      
      
      For command line options which permit '?' meaning 'please list the
      permitted values', add support for 'help' as a synonym, by abstracting
      the check out into a helper function.
      
      This change means that in some cases where we were being lazy in
      our string parsing, "?junk" will now be rejected as an invalid option
      rather than being (undocumentedly) treated the same way as "?".
      
      Update the documentation to use 'help' rather than '?', since '?'
      is a shell metacharacter and thus prone to fail confusingly if there
      is a single character filename in the current working directory and
      the '?' has not been escaped. It's therefore better to steer users
      towards 'help', though '?' is retained for backwards compatibility.
      
      We do not, however, update the output of the system emulator's -help
      (or any documentation autogenerated from the qemu-options.hx which
      is the source of the -help text) because libvirt parses our -help
      output and will break. At a later date when QEMU provides a better
      interface so libvirt can avoid having to do this, we can update the
      -help text too.
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
      c8057f95
  3. 01 Aug, 2012 4 commits
  4. 31 Jul, 2012 13 commits
  5. 30 Jul, 2012 4 commits
    • Anthony Liguori's avatar
      Merge remote-tracking branch 'mst/tags/for_anthony' into staging · 5e3bc714
      Anthony Liguori authored
      * 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
    • Anthony Liguori's avatar
      Merge remote-tracking branch 'bonzini/nbd-next' into staging · 4dd533aa
      Anthony Liguori authored
      * bonzini/nbd-next:
        qemu-nbd: add --cache and --aio options
        qemu-nbd: reorganize help message
      4dd533aa
    • 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
        ...
      d4a06f46
    • 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
      e6a76719
  6. 29 Jul, 2012 4 commits
    • Michael S. Tsirkin's avatar
      Merge branch pci into master · 5e59b024
      Michael S. Tsirkin authored
      Merge master and pci branch, resolve build breakage in hw/esp.c
      introduced by f90c2bcd.
      
      Conflicts:
      	hw/esp.c
      5e59b024
    • 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>
      7162ab21
    • 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>
      e6d91ab6
    • 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>
      54c2e502
  7. 28 Jul, 2012 8 commits
  8. 27 Jul, 2012 5 commits