1. 17 2月, 2010 1 次提交
  2. 11 2月, 2010 3 次提交
  3. 10 2月, 2010 1 次提交
  4. 08 2月, 2010 3 次提交
  5. 07 2月, 2010 1 次提交
  6. 06 2月, 2010 1 次提交
  7. 04 2月, 2010 3 次提交
    • M
      Fix incoming migration with iothread · c5f32c99
      Marcelo Tosatti 提交于
      Do not allow the vcpus to execute if the vm is stopped.
      
      Fixes -incoming with CONFIG_IOTHREAD enabled.
      Signed-off-by: NMarcelo Tosatti <mtosatti@redhat.com>
      c5f32c99
    • S
      kvm: Flush coalesced MMIO buffer periodly · 62a2744c
      Sheng Yang 提交于
      The default action of coalesced MMIO is, cache the writing in buffer, until:
      1. The buffer is full.
      2. Or the exit to QEmu due to other reasons.
      
      But this would result in a very late writing in some condition.
      1. The each time write to MMIO content is small.
      2. The writing interval is big.
      3. No need for input or accessing other devices frequently.
      
      This issue was observed in a experimental embbed system. The test image
      simply print "test" every 1 seconds. The output in QEmu meets expectation,
      but the output in KVM is delayed for seconds.
      
      Per Avi's suggestion, I hooked flushing coalesced MMIO buffer in VGA update
      handler. By this way, We don't need vcpu explicit exit to QEmu to
      handle this issue.
      Signed-off-by: NSheng Yang <sheng@linux.intel.com>
      Signed-off-by: NMarcelo Tosatti <mtosatti@redhat.com>
      62a2744c
    • M
      qdev: Fix exit code for -device ? · ff952ba2
      Markus Armbruster 提交于
      Help was shoehorned into device creation, qdev_device_add().  Since
      help doesn't create a device, it returns NULL, which looks to callers
      just like failed device creation.  Monitor handler do_device_add()
      doesn't care, but main() exits unsuccessfully.
      
      Move help out of device creation, into new qdev_device_help().
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      ff952ba2
  8. 28 1月, 2010 1 次提交
  9. 27 1月, 2010 3 次提交
  10. 24 1月, 2010 2 次提交
  11. 20 1月, 2010 3 次提交
    • A
      virtio-console: qdev conversion, new virtio-serial-bus · 98b19252
      Amit Shah 提交于
      This commit converts the virtio-console device to create a new
      virtio-serial bus that can host console and generic serial ports. The
      file hosting this code is now called virtio-serial-bus.c.
      
      The virtio console is now a very simple qdev device that sits on the
      virtio-serial-bus and communicates between the bus and qemu's chardevs.
      
      This commit also includes a few changes to the virtio backing code for
      pci and s390 to spawn the virtio-serial bus.
      
      As a result of the qdev conversion, we get rid of a lot of legacy code.
      The old-style way of instantiating a virtio console using
      
          -virtioconsole ...
      
      is maintained, but the new, preferred way is to use
      
          -device virtio-serial -device virtconsole,chardev=...
      
      With this commit, multiple devices as well as multiple ports with a
      single device can be supported.
      
      For multiple ports support, each port gets an IO vq pair. Since the
      guest needs to know in advance how many vqs a particular device will
      need, we have to set this number as a property of the virtio-serial
      device and also as a config option.
      
      In addition, we also spawn a pair of control IO vqs. This is an internal
      channel meant for guest-host communication for things like port
      open/close, sending port properties over to the guest, etc.
      
      This commit is a part of a series of other commits to get the full
      implementation of multiport support. Future commits will add other
      support as well as ride on the savevm version that we bump up here.
      Signed-off-by: NAmit Shah <amit.shah@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      98b19252
    • N
      Clean-up a little bit the RW related bits of BDRV_O_FLAGS. BDRV_O_RDONLY gone... · f5edb014
      Naphtali Sprei 提交于
      Clean-up a little bit the RW related bits of BDRV_O_FLAGS. BDRV_O_RDONLY gone (and so is BDRV_O_ACCESS). Default value for bdrv_flags (0/zero) is READ-ONLY. Need to explicitly request READ-WRITE.
      
      Instead of using the field 'readonly' of the BlockDriverState struct for passing the request,
      pass the request in the flags parameter to the function.
      Signed-off-by: NNaphtali Sprei <nsprei@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      f5edb014
    • N
      Make CDROM a read-only drive · b196b153
      Naphtali Sprei 提交于
      Signed-off-by: NNaphtali Sprei <nsprei@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      b196b153
  12. 14 1月, 2010 2 次提交
  13. 11 1月, 2010 1 次提交
  14. 08 1月, 2010 1 次提交
    • H
      debugcon: support for debugging consoles (e.g. Bochs port 0xe9) · c9f398e5
      H. Peter Anvin 提交于
      Add generic support for debugging consoles (simple I/O ports which
      when written to cause debugging output to be written to a target.)
      The current implementation matches Bochs' port 0xe9, allowing the same
      debugging code to be used for both Bochs and Qemu.
      
      There is no vm state associated with the debugging port, simply
      because it has none -- the entire interface is a single, stateless,
      write-only port.
      
      Most of the code was cribbed from the serial port driver.
      
      v2: removed non-ISA variants (they can be introduced when/if someone
      wants them, using code from the serial port); added configurable
      readback (Bochs returns 0xe9 on a read from this register, mimic that
      by default)  This retains the apparently somewhat controversial user
      friendly option, however.
      
      v3: reimplemented the user friendly option as a synthetic option
      ("-debugcon foo" basically ends up being a parser-level shorthand for
      "-chardev stdio,id=debugcon -device isa-debugcon,chardev=debugcon") --
      this dramatically reduced the complexity while keeping the same level
      of user friendliness.
      
      v4: spaces, not tabs.
      
      v5: update to match current top of tree.  Calling qemu_chr_open()
      already during parsing no longer works; defer until we are parsing the
      other console-like devices.
      Signed-off-by: NH. Peter Anvin <hpa@linux.intel.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      c9f398e5
  15. 23 12月, 2009 1 次提交
  16. 19 12月, 2009 7 次提交
  17. 18 12月, 2009 1 次提交
  18. 12 12月, 2009 5 次提交