History | View | Annotate | Download (112.5 kB)
add timestamp to error_report()
[Issue]When we offer a customer support service and a problem happensin a customer's system, we try to understand the problem bycomparing what the customer reports with message logs of thecustomer's system.
In this case, we often need to know when the problem happens....
trap signals for "-serial mon:stdio"
With mon:stdio you can exit the VM by switching to the monitor andsending the "quit" command. It is then useful to pass Ctrl-C to theVM instead of exiting.
This in turn lets us stop tying the default signal handling behavior...
vl: convert -smp to qemu_opts_parse()
This also introduces a new suboption, "cpus=",which is the default. So after this patch,
-smp n,sockets=y
is the same as
-smp cpus=n,sockets=y
(with "cpu" being some generic thing, referring toeither cores, or threads, or sockets, as before)....
Merge remote-tracking branch 'spice/spice.v71' into staging
spice: Add -spice disable-agent-file-transfer cmdline option (rhbz#961850)
Signed-off-by: Hans de Goede <hdegoede@redhat.com>Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
qemu-options: trivial fix for -mon args help
It is the (implied sub)option name which is optional, notthe value of that (sub)option, make it so in the help output.(Introduced by commit 22a0e04b9bb)
Cc: Gerd Hoffmann <kraxel@redhat.com>Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
doc: Drop ref to Bochs from -no-fd-bootchk documentation
Manual page and qemu-doc on talk about "Bochs BIOS". We use SeaBIOS,and it implements the feature. Replace by just "BIOS", and drop theTODO line wondering about the Bochs reference.
Signed-off-by: Markus Armbruster <armbru@redhat.com>...
monitor: allow to disable the default monitor
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
chardev: Make the name of memory device consistent
Now we have memory char device, but the backend name of itis a little confusion. We actually register it by 'memory', butthe description in qemu-option, the name of open functionsand the new api backend called it 'ringbuf'. It should keep...
TLS support for VNC Websockets
Added TLS support to the VNC QEMU Websockets implementation.VNC-TLS needs to be enabled for this feature to be used.
The required certificates are specified as in case of VNC-TLSwith the VNC parameter "x509=<path>".
If the server certificate isn't signed by a rooth authority it needs to...
Add option to mlock qemu and guest memory
In certain scenario, latency induced by paging is significant andmemory locking is needed. Also, in the scenario with untrustedguests, latency improvement due to mlock is desired.
This patch introduces a following new option to mlock guest and...
block: Add support for Secure Shell (ssh) block device.
qemu-system-x86_64 -drive file=ssh://hostname/some/image
QEMU will ssh into 'hostname' and open '/some/image' which is madeavailable as a standard block device.
You can specify a username (ssh://user@host/...) and/or a port number...
help: add docs for missing 'queues' option of tap
Cc: Markus Armbruster <armbru@redhat.com>Cc: qemu-stable@nongnu.orgSigned-off-by: Jason Wang <jasowang@redhat.com>Message-id: 1361545072-30426-1-git-send-email-jasowang@redhat.comSigned-off-by: Anthony Liguori <aliguori@us.ibm.com>
QMP: TPM QMP and man page documentation updates
Signed-off-by: Corey Bryant <coreyb@linux.vnet.ibm.com>Reviewed-by: Eric Blake <eblake@redhat.com>Reviewed-by: Markus Armbruster <armbru@redhat.com>Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Fix typos and misspellings
Fix various typos and misspellings. The bulk of these were found withcodespell.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>Reviewed-by: Stefan Weil <sw@weilnetz.de>Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
add a boot option to do strict boot
Seabios already added a new device type to halt booting.Qemu can add "HALT" at the end of bootindex string, thenseabios will halt booting after trying to boot from allselected devices.
This patch added a new boot option to configure if boot...
Add a TPM Passthrough backend driver implementation
This patch is based of off version 9 of Stefan Berger's patch series "QEMU Trusted Platform Module (TPM) integration" and adds a new backend driver for it.
This patch adds a passthrough backend driver for passing commands sent to the...
Add support for cancelling of a TPM command
This patch adds support for cancelling an executing TPM command.In Linux for example a user can cancel a command through the TPM'ssysfs 'cancel' entry using
echo "1" > /sysfs/class/misc/tpm0/device/cancel
This patch propagates the cancellation of a command inside a VM...
Support for TPM command line options
This patch adds support for TPM command line options.The command line options supported here are
./qemu-... -tpmdev passthrough,path=<path to TPM device>,id=<id> -device tpm-tis,tpmdev=<id>,id=<other id>...
Fix the wrong description in qemu manual
Fix LP#1151450 the wrong description in qemu manual:
'qemu-system-x86_84' should be 'qemu-system-x86_64'.
Signed-off-by: Lei Li <lilei@linux.vnet.ibm.com>Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Merge remote-tracking branch 'stefanha/block' into staging
sheepdog: accept URIs
The URI syntax is consistent with the NBD and Gluster syntax. Thesyntax is
sheepdog[+tcp]://[host:port]/vdiname[#snapid|#tag]
Signed-off-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
sheepdog: add support for connecting to unix domain socket
This patch adds support for a unix domain socket for a connectionbetween qemu and local sheepdog server. You can use the unix domainsocket with the following syntax:
$ qemu sheepdog+unix:///<vdiname>?socket=<socket path>[#snapid]...
doc: document -netdev hubport
Reviewed-by: Markus Armbruster <armbru@redhat.com>Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
qemu-log: default to stderr for logging output
Switch the default for qemu_log logging output from "/tmp/qemu.log" to stderr. This is an incompatible change in some sense, but loggingis mostly used for debugging purposes so it shouldn't affect production...
blockdev: add discard suboption to -drive
Add support for BDRV_O_UNMAP from the QEMU command-line.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>Signed-off-by: Kevin Wolf <kwolf@redhat.com>
help: add docs for multiqueue tap options
Cc: Markus Armbruster <armbru@redhat.com>Cc: Jason Wang <jasowang@redhat.com>Signed-off-by: Jason Wang <jasowang@redhat.com>Message-id: 1361354641-51969-1-git-send-email-jasowang@redhat.comSigned-off-by: Anthony Liguori <aliguori@us.ibm.com>
doc: Fill some option doc gaps in manual page and qemu-doc
Signed-off-by: Markus Armbruster <armbru@redhat.com>Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>Message-id: 1360781383-28635-4-git-send-email-armbru@redhat.comSigned-off-by: Anthony Liguori <aliguori@us.ibm.com>
doc: Fix texinfo @table markup in qemu-options.hx
End tables before headings, start new ones afterwards. Fixesincorrect indentation of headings "File system options" and "VirtualFile system pass-through options" in manual page and qemu-doc.
Normalize markup some to increase chances it survives future edits....
help: Fix markup of heading "USB options" so it appears in -help
Signed-off-by: Markus Armbruster <armbru@redhat.com>Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>Message-id: 1360781383-28635-6-git-send-email-armbru@redhat.comSigned-off-by: Anthony Liguori <aliguori@us.ibm.com>
doc help: A few options are under inappropriate headings, fix
--device is under heading "USB options". --name and --uuid are under"Virtual File system pass-through options". Move all three to"Standard options".
doc help: Collect block device stuff under its own heading
Collect them from "Standard options", "File system options", "VirtualFile system pass-through options", "Debug/Expert options".
Signed-off-by: Markus Armbruster <armbru@redhat.com>Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>...
help: Drop bogus help on -qtest and -qtest-log
Signed-off-by: Markus Armbruster <armbru@redhat.com>Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>Message-id: 1360781383-28635-2-git-send-email-armbru@redhat.comSigned-off-by: Anthony Liguori <aliguori@us.ibm.com>
doc: Fix some option entries in qemu-doc's function index
Signed-off-by: Markus Armbruster <armbru@redhat.com>Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>Message-id: 1360781383-28635-3-git-send-email-armbru@redhat.comSigned-off-by: Anthony Liguori <aliguori@us.ibm.com>
chardev: Fix manual page and qemu-doc for -chardev tty
Broken in commit d59044ef.
Signed-off-by: Markus Armbruster <armbru@redhat.com>Reviewed-by: Laszlo Ersek <lersek@redhat.com>Message-id: 1360767256-610-2-git-send-email-armbru@redhat.comSigned-off-by: Anthony Liguori <aliguori@us.ibm.com>
qemu-char: Saner naming of memchar stuff & doc fixes
New device, has never been released, so we can still improve thingswithout worrying about compatibility.
Naming is a mess. The code calls the device driver CirMemCharDriver,the public API calls it "memory", "memchardev", or "memchar", and the...
qemu-char: Add new char backend CirMemCharDriver
Signed-off-by: Lei Li <lilei@linux.vnet.ibm.com>Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
vnc: added initial websocket protocol support
This patch adds basic Websocket Protocol version 13 - RFC 6455 - supportto QEMU VNC. Binary encoding support on the client side is mandatory.
Because of the GnuTLS requirement the Websockets implementation is...
chardev: add serial chardev support to chardev-add (qmp)
Similar to file, except that no separate in/out files are supportedbecause it's pointless for direct device access. Also the specialtty ioctl hooks (pass through linespeed settings etc) are activated...
chardev: add parallel chardev support to chardev-add (qmp)
Also alias the old parport name to parallel for -chardev.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
spice-qemu-char: add spiceport chardev
Add a new spice chardev to allow arbitrary communication between thehost and the Spice client via the spice server.
Examples:
This allows the Spice client to have a special port for the qemumonitor:
... -chardev spiceport,name=org.qemu.monitor,id=monitorport...
qemu-options: Fix space at EOL
There's no need to add a space at the end of line.Moreover, it can make problems in some projects thatstore the help output into a file (and run couple oftests based on that) and have space at EOL forbidden.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>...
Documentation: Update block cache mode information
Somehow we forgot to update this when cache=writeback became thedefault. While changing the information on the default, also make thedescription of all caches modes a bit more accurate.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>...
Legacy qemu-kvm options have no argument
The options no-kvm, no-kvm-pit, no-kvm-pit-reinjection, and no-kvm-irqchipshould be marked as having no argument.
Signed-off-by: Bruce Rogers <brogers@suse.com>Reviewed-by: Jan Kiszka <jan.kiszka@siemens.com>Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Merge remote-tracking branch 'kiszka/queues/slirp' into staging
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Merge remote-tracking branch 'kwolf/for-anthony' into staging
vl: add -object option to create QOM objects from the command line
This will create a new QOM object in the '/objects' path. Note that propertiesare set in order which allows for simple objects to be initialized entirelywith this option and then realized....
slirp: Add domain-search option to slirp's DHCP server
This patch will allow the user to include the domain-search option inreplies from the built-in DHCP server. The domain suffixes can bespecified by adding dnssearch= entries to the "-net user" parameter....
qemu: Document GlusterFS block driver usage
Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Emulate qemu-kvms -no-kvm option
Releases of qemu-kvm will be interrupted at qemu 1.3.0.Users should switch to plain qemu releases.To avoid breaking scenarios which are setup with command lineoptions specific to qemu-kvm, port these switches from qemu-kvm...
Issue warning when deprecated -tdf option is used
Use global properties to emulate -no-kvm-pit-reinjection
Use machine options to emulate -no-kvm-irqchip
Issue warning when deprecated -no-kvm-pit is used
qemu-config: Add new -add-fd command line option
This option can be used for passing file descriptors on thecommand line. It mirrors the existing add-fd QMP command whichallows an fd to be passed to QEMU via SCM_RIGHTS and added to anfd set.
This can be combined with commands such as -drive to link file...
qemu-options.hx: Change from recommending '?' to 'help'
Update the -help output and documentation so that it recommends'help' rather than '?' for the various "list valid values for thisoption" cases. '?' is deprecated (as it can fail confusingly ifnot quoted), so it's better to steer users towards 'help'. ('?'...
add a boot parameter to set reboot timeout
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=TT have a max value of 0xffff, unit is ms.
With this option, guest will wait for a given time if not find...
Merge remote-tracking branch 'stefanha/net' into staging
add -machine mem-merge=on|off option
It allows to disable memory merge support (KSM on Linux), which isenabled by default otherwise.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
net: add -netdev options to man page
Document the -netdev syntax which supercedes the older -net syntax.This patch is a first step to making -netdev prominent in the QEMUmanual.
Reported-by: Anatoly Techtonik <techtonik@gmail.com>Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
spice: adding seamless-migration option to the command line
The seamless-migration flag is required in order to identifywhether libvirt supports the new QEVENT_SPICE_MIGRATE_COMPLETED or not(by default the flag is off).New libvirt versions that wait for QEVENT_SPICE_MIGRATE_COMPLETED should turn on this flag....
spice: increase the verbosity of spice section in "qemu --help"
Added all spice options to the help string. This can be used by libvirtto determine which spice related features are supported by qemu.
Signed-off-by: Yonit Halperin <yhalperi@redhat.com>Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Revert "qemu-options.hx: mention retrace= VGA option"
This reverts commit 39dda260628e5f2a3fd2ce2ec8a71f3d5ca309a9.
Signed-off-by: malc <av1474@comtv.ru>
Revert "vga: add some optional CGA compatibility hacks"
This reverts commit 482f7bf86b43af9f6903c52726fedf82b28bf953.
Revert "i8259: add -no-spurious-interrupt-hack option"
This reverts commit f278d4947fff814dcde2ef2acad36d172ff8be35.
vga: add some optional CGA compatibility hacks
This patch adds some optional compatibility hacks (defaultdisabled) to allow Microport UNIX to function under qemu.
I've tried to structure it to be easy to add more hacks for otherold CGA programs, if anyone ever needs them....
i8259: add -no-spurious-interrupt-hack option
This patch provides a way to optionally suppress spurious interrupts,as a workaround for systems described below:
Some old operating systems do not handle spurious interrupts well,and qemu tends to generate them significantly more often than...
qemu-options.hx: mention retrace= VGA option
The feature was added in commit cb5a7aa8c32141bb Sep 2008.My description is based on "Better VGA retrace emulation (neededfor some DOS games/demos)" fromhttp://www.boblycat.org/~malc/code/patches/qemu/index.html...
Command line support for seccomp with -sandbox (v8)
Signed-off-by: Eduardo Otubo <otubo@linux.vnet.ibm.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>---v7 -> v8 - Parse options correctly (aliguori)
memory: add -machine dump-guest-core=on|off
Add a new '[,dump-guest-core=on|off]' option to the '-machine' option. When'dump-guest-core=off' is specified, guest memory is omitted from the core dump.The default behavior continues to be to include guest memory when a core dump is...
iscsi: Pick default initiator-name based on the name of the VM
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 setan explicit iqn-name to use.
Create a new function qemu_get_vm_name() that returns the name of the VM,...
vnc: disable VNC password authentication (security type 2) when in FIPS mode
FIPS 140-2 requires disabling certain ciphers, including DES, which is usedby VNC to obscure passwords when they are sent over the network. Thesolution for FIPS users is to disable the use of VNC password auth when the...
Support 'help' as a synonym for '?' in command line options
For command line options which permit '?' meaning 'please list thepermitted values', add support for 'help' as a synonym, by abstractingthe check out into a helper function.
This change means that in some cases where we were being lazy in...
Fix some more Qemus in documentation and help text
Hopefully they will be eliminated one day.
Signed-off-by: Stefan Weil <sw@weilnetz.de>Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
qemu-options.hx: Improve -{read|write}config options description
This is the patch to improve description for -{read|write}configfunctions.
Signed-off-by: Michal Novotny <minovotn@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qemu-options.hx: Improve -nodefaults description
This patch improves the description of -nodefaults QEMU command lineoption by adding more information what is being disabled using thiscommand.
qemu-options.hx: Fix set_password and expire_password description
The description for set_password and expire_password commands isincomplete. This patch fixes the man page that is being generatedto match the real behaviour of these functions.
Signed-off-by: Michal Novotny <minovotn@redhat.com>...
slirp: add 'cmd:' target for guestfwd
When using guestfwd=, Qemu only connects the virtual server's TCP portto a single chardev. This is useless in most cases, as we usually wantto have more than a single connection from the guest to the outside world....
Merge remote-tracking branch 'sweil/for-1.1' into staging
qemu-doc: Add missing parameter in description of -D option
'logfile' is a place holder for a non optional parameter.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
qemu-doc: Fix executable name in examples
The executable name qemu was replaced some time ago by qemu-system-i386.Fix all examples accordingly.
Some examples will only work with qemu-system-i386 or qemu-system-x86_64for obvious reasons ("dos.img").
To keep things simple, I did not vary the executable name....
qemu-doc: Use QEMU instead of qemu for product name
When 'qemu' was used as a product name or as a generic process name,it is now replaced by the official upper case 'QEMU'.
v2:Added missing period (hint from Andreas Färber).
Reviewed-by: Andreas Färber <afaerber@suse.de>...
implement -no-user-config command-line option (v3)
Changes v2 -> v3: - Rebase against latest qemu.git
Changes v1 -> v2: - Change 'userconfig' field/variables to bool instead of int - Coding style change
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>...
Replace Qemu by QEMU in user visible documentation
The official spelling is QEMU.
Signed-off-by: Stefan Weil <sw@weilnetz.de>Reviewed-by: Andreas Färber <afaerber@suse.de>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Merge branch 'arm-devs.for-upstream' of git://git.linaro.org/people/pmaydell/qemu-arm
qtest: add test framework
The idea behind qtest is pretty simple. Instead of executing a CPU via TCG orKVM, rely on an external process to send events to the device model that the CPUwould normally generate.
qtest presents itself as an accelerator. In addition, a new option is added to...
rtc: add -rtc clock=rt
This will let people use backwards-compatible semantics for devices thatwill be affected by the following patches.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Man page: Add -global description
There's only TODO information in qemu man page for -global option. This is a basic description of this option with simple example.
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
v4: - break long line
v3: - add use case description...
qemu-options.hx: allow -dtb argument for all archs
Signed-off-by: Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
arm: add device tree support
If compiled with CONFIG_FDT, allow user to specify a device tree file usingthe -dtb argument. If the machine supports it then the dtb will be loadedinto memory and passed to the kernel on boot.
Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>...
Merge remote-tracking branch 'qemu-kvm/uq/master' into staging
Merge remote-tracking branch 'kraxel/vnc.2' into staging
vnc: implement shared flag handling.
VNC clients send a shared flag in the client init message. Up to nowqemu completely ignores this. This patch implements shared flaghandling. It comes with three policies: By default qemu behaves as onewould expect: Asking for a exclusive access grants exclusive access to...
iSCSI: add configuration variables for iSCSI
This patch adds configuration variables for iSCSI to setinitiator-name to use when logging in to the target,which type of header-digest to negotiate with the targetand username and password for CHAP authentication....
kvm: Allow to set shadow MMU size
Introduce the KVM-specific machine option kvm_shadow_mem. It allows toset a custom shadow MMU size for the virtual machine. This is useful forstress testing e.g.
Only x86 supports this for now, but it is in principle a generic...
Merge remote-tracking branch 'aneesh/for-upstream' into staging
Add support for net bridge
The most common use of -net tap is to connect a tap device to a bridge. Thisrequires the use of a script and running qemu as root in order to allocate atap device to pass to the script.
This model is great for portability and flexibility but it's incredibly...
kvm: Activate in-kernel irqchip support
Make the basic in-kernel irqchip support selectable via-machine ...,kernel_irqchip=on. Leave it off by default until it canfully replace user space models.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hw/9pfs: Add new security model mapped-file.
This enable us to do passthrough equivalent security model on NFS directory.NFS server mostly do root squashing and don't support xattr. Hence we cannotuse 'passthrough' or 'mapped' security model
Also added "mapped-xattr" security to indicate earlier "mapped" security model...
Support for UDP unicast network backend
Signed-off-by: Benjamin MARSILI <mlspirat42@gmail.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>