1. 10 9月, 2010 1 次提交
  2. 09 9月, 2010 1 次提交
  3. 23 8月, 2010 1 次提交
  4. 27 7月, 2010 1 次提交
  5. 26 7月, 2010 1 次提交
    • B
      move 'unsafe' to end of caching modes in help · 6c6b6ba2
      Bruce Rogers 提交于
      Libvirt parses qemu help output to determine qemu features. In particular
      it probes for the following: "cache=writethrough|writeback|none". The
      addition of the unsafe cache mode was inserted within this string, as
      opposed to being added to the end, which impacted libvirt's probe.
      Unbreak libvirt by keeping the existing cache modes intact and add
      unsafe to the end.
      
      This problem only manifests itself if a caching mode is explicitly
      specified in the libvirt xml, in which case older syntax for caching is
      passed to qemu, which it  no longer understands.
      Signed-off-by: NBruce Rogers <brogers@novell.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      6c6b6ba2
  6. 14 7月, 2010 1 次提交
  7. 23 6月, 2010 1 次提交
  8. 27 5月, 2010 2 次提交
  9. 22 5月, 2010 1 次提交
  10. 04 5月, 2010 2 次提交
  11. 27 4月, 2010 1 次提交
  12. 02 4月, 2010 1 次提交
  13. 30 3月, 2010 1 次提交
  14. 27 3月, 2010 1 次提交
  15. 19 3月, 2010 1 次提交
  16. 04 3月, 2010 1 次提交
  17. 27 2月, 2010 1 次提交
  18. 11 2月, 2010 1 次提交
  19. 08 2月, 2010 2 次提交
  20. 04 2月, 2010 1 次提交
  21. 27 1月, 2010 2 次提交
  22. 24 1月, 2010 1 次提交
    • A
      Load global config files by default · 292444cb
      Anthony Liguori 提交于
      A new option, -nodefconfig is introduced to prevent loading from the default
      config location.  Otherwise, two configuration files will be searched for,
      qemu.conf and target-<TARGET_NAME>.conf.
      
      To ensure that the default configuration is overridden by a user specified
      config, we introduce a two stage option parsing mechanism.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      292444cb
  23. 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
      Added drives' readonly option · 3f3ed593
      Naphtali Sprei 提交于
      Signed-off-by: NNaphtali Sprei <nsprei@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      3f3ed593
    • S
      Documentation: Add missing documentation for qdev related command line options · 3dbf2c7f
      Stefan Weil 提交于
      The command line options -device, -nodefaults, -readconfig,
      -writeconfig had entries for command line help, but
      documentation for texi and derived formats (man, html, info)
      was missing.
      
      This also required moving "@end table" to the end of
      qemu-options.hx again.
      Signed-off-by: NStefan Weil <weil@mail.berlios.de>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      3dbf2c7f
  24. 12 1月, 2010 1 次提交
  25. 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
  26. 28 12月, 2009 1 次提交
  27. 12 12月, 2009 5 次提交
  28. 03 12月, 2009 1 次提交
    • L
      monitor: Command-line flag to enable control mode · adcb181a
      Luiz Capitulino 提交于
      This commit adds a flag called 'control' to the '-monitor'
      command-line option. This flag enables control mode.
      
      The syntax is:
      
      qemu [...] -monitor control,<device>
      
      Where <device> is a chardev (excluding 'vc', for obvious reasons).
      
      For example:
      
      $ qemu [...] -monitor control,tcp:localhost:4444,server
      
      Will run QEMU in control mode, waiting for a client TCP connection
      on localhost port 4444.
      
      NOTE: I've tried using QemuOpts for this, but turns out that it
      will try to parse the device part, which should be untouched.
      Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      adcb181a
  29. 09 11月, 2009 2 次提交