trace: allow PRI*64 at beginning and ending of format string
The tracetool parser only picks up PRI*64 and other format string macroswhen enclosed between double quoted strings. Lift this restriction byextracting everything after the closing ')' as the format string:...
trace: remove newline from grlib_irqmp_check_irqs format string
There is no need to put a newline in trace event format strings. Thebackend may use the format string within some context and takes care ofhow to display the event. The stderr backend automatically appends "\n"...
Makefile: Fix broken build
make -C mybuilddir no longer works (regression caused by commit)388d475815c23901010a25c845eb078d47ee0740.
PWD is the directory of the caller (not mybuilddir),so BUILD_DIR is set to the wrong value.
GNU make sets CURDIR to the correct value....
vga: Respect isa_mem_base when registering chain4 alias
This does not yet unbreak PPC (which has its own problems) butpotentially other non-x86 systems where isa_mem_base is != 0.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qdev: print bus properties too
Make qdev_device_help print both device and bus properties.Helps libvirt to figure whenever bus properties such asPCI.multifunction are supported present or not.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/integratorcp: Fix bugs in writes to CM_CTRL system register
Fix a number of bugs in the implementation of writes to the CM_CTRLsystem register: * write to cm_ctrl, not cm_init ! * an '&' vs '^' typo meant we would write the inverse of the bits * handling the LED via printf() meant we spew lots of output...
bswap.h: build fix
qemu build fails when CONFIG_MACHINE_BSWAP_H is definedbecause float32, float64, etc. are not defined.This makes qemu build.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
vga: Fix text mode screendumps
In text mode, even a full refresh of the screen takes multiple updates.As we reset the dump file pointer after the first call, we only wrotethe first line.
console: Properly switch consoles for screen dumps
Do not mess with active_console, use console_select instead. This fixescorrupt virtual monitor consoles after issuing the screendump command.
Fix termination by signal with -no-shutdown
On signals such as SIGTERM qemu should exit instead of just stopping the VMeven with -no-shutdown.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
View all revisions | View revisions
Also available in: Atom