1. 07 Dec, 2012 1 commit
  2. 30 Nov, 2012 1 commit
  3. 23 Nov, 2012 1 commit
  4. 16 Nov, 2012 1 commit
  5. 15 Nov, 2012 1 commit
  6. 14 Nov, 2012 1 commit
  7. 30 Oct, 2012 5 commits
  8. 24 Oct, 2012 1 commit
    • Corey Bryant's avatar
      qemu-config: Add new -add-fd command line option · 587ed6be
      Corey Bryant authored
      This option can be used for passing file descriptors on the
      command line.  It mirrors the existing add-fd QMP command which
      allows an fd to be passed to QEMU via SCM_RIGHTS and added to an
      fd set.
      This can be combined with commands such as -drive to link file
      descriptors in an fd set to a drive:
          qemu-kvm -add-fd fd=3,set=2,opaque="rdwr:/path/to/file"
                   -add-fd fd=4,set=2,opaque="rdonly:/path/to/file"
                   -drive file=/dev/fdset/2,index=0,media=disk
      This example adds dups of fds 3 and 4, and the accompanying opaque
      strings to the fd set with ID=2.  qemu_open() already knows how
      to handle a filename of this format.  qemu_open() searches the
      corresponding fd set for an fd and when it finds a match, QEMU
      goes on to use a dup of that fd just like it would have used an
      fd that it opened itself.
      Signed-off-by: default avatarCorey Bryant <coreyb@linux.vnet.ibm.com>
      Reviewed-by: default avatarEric Blake <eblake@redhat.com>
      Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
  9. 19 Oct, 2012 1 commit
  10. 25 Sep, 2012 1 commit
    • Amos Kong's avatar
      add a boot parameter to set reboot timeout · ac05f349
      Amos Kong authored
      Added an option to let qemu transfer a configuration file to bios,
      "etc/boot-fail-wait", which could be specified by command
          -boot reboot-timeout=T
      T have a max value of 0xffff, unit is ms.
      With this option, guest will wait for a given time if not find
      bootabled device, then reboot. If reboot-timeout is '-1', guest
      will not reboot, qemu passes '-1' to bios by default.
      This feature need the new seabios's support.
      Seabios pulls the value from the fwcfg "file" interface, this
      interface is used because SeaBIOS needs a reliable way of
      obtaining a name, value size, and value. It in no way requires
      that there be a real file on the user's host machine.
      Signed-off-by: default avatarAmos Kong <akong@redhat.com>
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
  11. 17 Sep, 2012 1 commit
  12. 14 Sep, 2012 1 commit
  13. 05 Sep, 2012 2 commits
  14. 27 Aug, 2012 3 commits
  15. 23 Aug, 2012 3 commits
  16. 16 Aug, 2012 2 commits
  17. 09 Aug, 2012 1 commit
    • Ronnie Sahlberg's avatar
      iscsi: Pick default initiator-name based on the name of the VM · 31459f46
      Ronnie Sahlberg authored
      This patch updates the iscsi layer to automatically pick a 'unique'
      initiator-name based on the name of the vm in case the user has not set
      an explicit iqn-name to use.
      Create a new function qemu_get_vm_name() that returns the name of the VM,
      if specified.
      This way we can thus create default names to use as the initiator name
      based on the guest session.
      If the VM is not named via the '-name' command line argument, the iscsi
      initiator-name used wiull simply be
      If a name for the VM was specified with the '-name' option, iscsi will
      use a default initiatorname of
      These names are just the default iscsi initiator name that qemu will
      generate/use only when the user has not set an explicit initiator name
      via the commandlines or config files.
      Signed-off-by: default avatarRonnie Sahlberg <ronniesahlberg@gmail.com>
  18. 03 Aug, 2012 1 commit
    • Paul Moore's avatar
      vnc: disable VNC password authentication (security type 2) when in FIPS mode · 0f66998f
      Paul Moore authored
      FIPS 140-2 requires disabling certain ciphers, including DES, which is used
      by VNC to obscure passwords when they are sent over the network.  The
      solution for FIPS users is to disable the use of VNC password auth when the
      host system is operating in FIPS compliance mode and the user has specified
      '-enable-fips' on the QEMU command line.
      This patch causes QEMU to emit a message to stderr when the host system is
      running in FIPS mode and a VNC password was specified on the commend line.
      If the system is not running in FIPS mode, or is running in FIPS mode but
      VNC password authentication was not requested, QEMU operates normally.
      Signed-off-by: default avatarPaul Moore <pmoore@redhat.com>
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
  19. 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>
  20. 21 Jul, 2012 1 commit
  21. 17 Jul, 2012 3 commits
  22. 09 Jul, 2012 1 commit
  23. 13 May, 2012 3 commits
  24. 10 May, 2012 1 commit
  25. 07 Apr, 2012 1 commit
  26. 30 Mar, 2012 1 commit
    • Anthony Liguori's avatar
      qtest: add test framework · c7f0f3b1
      Anthony Liguori authored
      The idea behind qtest is pretty simple.  Instead of executing a CPU via TCG or
      KVM, rely on an external process to send events to the device model that the CPU
      would normally generate.
      qtest presents itself as an accelerator.  In addition, a new option is added to
      establish a qtest server (-qtest) that takes a character device.  This is what
      allows the external process to send CPU events to the device model.
      qtest uses a simple line based protocol to send the events.  Documentation of
      that protocol is in qtest.c.
      I considered reusing the monitor for this job.  Adding interrupts would be a bit
      difficult.  In addition, logging would also be difficult.
      qtest has extensive logging support.  All protocol commands are logged with
      time stamps using a new command line option (-qtest-log).  Logging is important
      since ultimately, this is a feature for debugging.
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>