qemu-ga: don't leak a file descriptor upon failed lockf
Signed-off-by: Jim Meyering <meyering@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
i82378: Remove bogus MMIO coalescing
This MMIO area is an entry gate to legacy PC ISA devices, addressed viaPIO over there. Quite a few of the PIO ports have side effects on accesslike starting/stopping timers that must be executed properly ordered/wrt the CPU. So we have to remove the coalescing mark....
eventfd: making it thread safe
QEMU uses IO handlers to run select() in the main loop.The handlers list is managed by qemu_set_fd_handler() helperwhich works fine when called from the main thread as it iscalled when select() is not waiting.
However IO handlers list can be changed in the thread other than...
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....
View all revisions | View revisions
Also available in: Atom