monitor: Fix leakage during completion processing
Given too many arguments or an invalid command, we were leaking theduplicated argument strings.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
monitor: Fix command completion vs. boolean switches
We now have to move forward to the next argument type via next_arg_type.This patch fixes completion for 'eject' and maybe also other commands.
monitor: Establish cmd flags and convert the async tag
As we want to add more flags to monitor commands, convert the only sofar existing one accordingly.
qdev-properties: Fix (u)intXX parsers
scanf calls must not use PRI constants, they have probably the wrong size andcorrupt memory. We could replace them by SCN ones, but strtol is simpler thanscanf here anyway. While at it, also fix the parsers to reject garbage after...
Return usb device to host on exit
Signed-off-by: Shahar Havivi <shaharh@redhat.com>Acked-by: Gerd Hoffmann <kraxel@redhat.com>Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Return usb device to host on usb_del command
net: Fix VM start with '-net none'
Commit 50e32ea8f31035877decc10f1075aa0e619e09cb changed the behaviourfor the return type of net_client_init() when a nic type with no initmethod was specified. 'none' is one such nic type. Instead of returning0, which gets interpreted as an index into the nd_table[] array, we...
x86: svm: Always clear event_inj on vmexit
We currently only clear SVM_EVTINJ_VALID after successful interruptdelivery. This apparently does not match real hardware which clears thewhole event_inj field on every vmexit, including unsuccessful interrupt...
usb-uhci: fix commit 8e65b7c04965c8355e4ce43211582b6b83054e3d for vmstate
The commit 8e65b7c04965c8355e4ce43211582b6b83054e3d introducedexpire_time of UHCIState. But expire_time is not in vmstate, thesecond uhci_frame_timer will not be fired immediately after loadvm....
hw/omap : make local function static and remove declaration from header
Signed-off-by: cmchao <cmchao@gmail.com>Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
View all revisions | View revisions
Also available in: Atom