History | View | Annotate | Download (13.7 kB)
QMP: Add cpu-add command
Adds "cpu-add id=xxx" QMP command.
cpu-add's "id" argument is a CPU number in a range [0..max-cpus)
Example QMP command: > { "execute": "cpu-add", "arguments": { "id": 2 } } < { "return": {} }
Signed-off-by: Igor Mammedov <imammedo@redhat.com>...
add a new runstate: RUN_STATE_GUEST_PANICKED
The guest will be in this state when it is panicked.
Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>Reviewed-by: Markus Armbruster <armbru@redhat.com>Message-id: 0255f263ffdc2a3716f73e89098b96fd79a235b3.1366945969.git.hutao@cn.fujitsu.com...
sysemu: avoid proliferation of include/ subdirectories
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
softmmu: move remaining include files to include/ subdirectories
softmmu: move include files to include/sysemu/
qom: move include files to include/qom/
janitor: do not include qemu-char everywhere
Touching char/char.h basically causes the whole of QEMU tobe rebuilt. Avoid this, it is usually unnecessary.
build: replace weak symbols with a static library
Weak symbols were a nice idea, but they turned out not to be a good one.Toolchain support is just too sparse, in particular llvm-gcc is totallybroken.
This patch uses a surprisingly low-tech approach: a static library....
compiler: support Darwin weak references
Weakrefs only tell you if the symbol was defined elsewhere, so youneed a further check at runtime to pick the default definitionwhen needed.
This could be automated by the compiler, but it does not do it.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>...
Merge remote-tracking branch 'origin/master' into threadpool
compiler: use weak aliases to provide default definitions
This is simpler and more portable.
Merge branch 'queue/qmp' of git://repo.or.cz/qemu/qmp-unstable
qmp: handle stop/cont in INMIGRATE state
Right now, stop followed by an incoming migration will let thevirtual machine start. cont before an incoming migration insteadwill fail.
This is bad because the actual behavior is not predictable; it isracy with respect to the start of the incoming migration. That's...
vnc: reorganize code for reverse mode
Avoid the dance between csock and vs->lsock.
qapi: convert add_client
Also fixes a few issues while there:
1. The fd returned by monitor_get_fd() leaks in most error conditions 2. monitor_get_fd() return value is not checked. Best case we get an error that is not correctly reported, worse case one of the...
win32: provide separate macros for weak decls and definitions
mingw32 seems to want the declaration to also carry the weak attribute.Strangely, gcc on Linux absolutely does not want the declaration to be markedas weak. This may not be the right fix, but it seems to do the trick....
qmp: introduce device-list-properties command
This can be used in conjunction with qom-list-types to determine the supportedset of devices and their parameters.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
qapi: add query-cpu-definitions command (v2)
This command attempts to map to the behavior of -cpu ?. Unfortunately, theoutput of this command differs wildly across targets.
To accommodate this, we use a weak symbol to implement a default version of the...
runstate: introduce suspended state
QEMU enters in this state when the guest suspends to ram (S3).
This is important so that HMP users and QMP clients can know thatthe guest is suspended. QMP also has an event for this, but eventsare not reliable and are limited (ie. a client can connect to QEMU...
suspend: add system_wakeup monitor command
This patch adds the system_wakeup monitor command which will simplywake up suspended guests.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qom: add QObject-based property get/set wrappers
Move the creation of QmpInputVisitor and QmpOutputVisitor from qmp.cto qom/object.c, since it's the only practical way to access objectproperties.
Keep this isolated such that it's easy to remove. At some point, we need...
qom: move properties from qdev to object
This is mostly code movement although not entirely. This makes properties partof the Object base class which means that we can now start using Object in ameaningful way outside of qdev.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qom: add new command to search for types
This adds a command that allows searching for types that implement a property.This allows you to do things like search for all available PCIDevices. In thefuture, we'll also have a standard interface for things with a BlockDriverState...
qapi: Introduce change-vnc-password
New QMP command to change the VNC password.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
qerror: Extend QERR_DEVICE_ENCRYPTED
Include the name of the encrypted file.
qapi: Convert change
qapi: Convert set_password
qapi: Convert expire_password
prepare for future GPLv2+ relicensing
All files under GPLv2 will get GPLv2+ changes starting tomorrow.event_notifier.c and exec-obsolete.h were only ever touched by Red Hatemployees and can be relicensed now.
qmp: add qom-list command
This can be used to list properties in the device model.
qom: qom_{get, set} monitor commands (v2)
This allows clients to read and write device model properties through QMP. QAPIdoesn't support Visitor types yet and these commands are special in that theydon't work with fixed types.
I've added a documentation stub to qapi-schema.json so we can keep consistency...
qapi: Convert cont
qapi: Convert query-vnc
There are three important remarks in relation to the non-qapi command:
1. This commit also fixes the behavior of the 'query-vnc' and 'info vnc' commands to return an error when qemu is built without VNC support (ie. --disable-vnc). The non-qapi command would return the OK...
qapi: Convert query-spice
qapi: Convert the cpu command
qapi: Convert query-kvm
qapi: Convert query-uuid
qapi: Convert quit
qapi: Convert stop
qapi: Convert system_reset
qapi: Convert system_powerdown
qapi: convert query-name
A simple example conversion 'info name'. This also adds the new files forQMP and HMP.
qapi: Convert query-version