qapi: Fix memory leak
valgrind report:
Update OpenBIOS images
Update OpenBIOS images to SVN r1062. Build with GCC 4.6.0in order to avoid boot problems introduced by GCC 4.7.[01].
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
pc: Fix RTC CMOS info on RAM for ram_size < 1MiB
pc_cmos_init() always claims 640KiB base memory, and ram_size - 1MiBextended memory. The latter can underflow to "lots of extendedmemory". Fix both, and clean up some.
Note: SeaBIOS currently requires 1MiB of RAM, and doesn't check...
vl: Round argument of -m up to multiple of 8KiB
Partial pages make little sense and don't work. Ensure the RAM sizeis a multiple of any possible target's page size.
Fixes
$ qemu-system-x86_64 nodefaults -S -vnc :0 -m 0.8 qemu-system-x86_64: /work/armbru/qemu/exec.c:2255: register_subpage: Assertion `existing>mr->subpage || existing->mr == &io_mem_unassigned' failed....
scsi: fix warning
hw/scsi-bus.c:758: warning: ‘xfer’ may be used uninitialized in thisfunction
Isn't true, but older gcc versions (for example 4.1 as shipped in rhel5)are not clever enougth to figure, so sprinkle in a default: line to makethem happy....
Avoid asprintf() which is not available on mingw
Use g_strdup_printf() instead.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>Reviewed-by: Stefan Weil <sw@weilnetz.de>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Update version to 1.2.0-rc0
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qemu-char: (Re-)connect for tcp_chr_write() unconnected writing
tcp_chr_write() did not deal with writing to an unconnectedconnection and return the original length of the data, it'snot right and would cause false writing. So (re-)connect itand return 0 for this situation....
Allow QEMUMachine to override reset sequencing
qemu_system_reset() function always performs the same basic actions onall machines. This includes running all the reset handler hooks,however the order in which these will run is not always easily predictable....
pseries: Instantiate USB interface when required
The pseries machine already supports the -vga std option, creating agraphics adapter. However, this is not very useful without being able toadd a keyboard and mouse as well. This patch addresses this by adding...
View all revisions | View revisions
Also available in: Atom