Use glib memory allocation and free functions
qemu_malloc/qemu_free no longer exist after this commit.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Make glib mandatory and fixup utils appropriately
Reorder default ram_size initialization
code_gen_alloc depends on it, and that is now called earlier viaconfigure_accelerator.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
scsi-disk: fix DPRINTF
The variable 'status' does not exist anymore, adjust DPRINTFaccordingly.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
target-cris/opcode-cris.h: rename REG_PC/SP to CRIS_REG_PC/SP
The REG_PC constant used in opcode-cris.h can clash with asimilar define in system include files. In particular theUbuntu Lucid SPARC signal.h will define REG_PC, and sinceqemu-common.h now includes signal.h this was causing compile...
scsi: do not overwrite memory on REQUEST SENSE commands with a large buffer
Other scsi_target_reqops commands were careful about not using r->cmd.xferdirectly, and instead always cap it to a fixed length. This was not donefor REQUEST SENSE, and this patch fixes it....
hw/scsi-bus.c: Fix use of uninitialised variable
Don't use req before it has been initialised in scsi_req_new().This fixes a compile failure due to gcc complaining about this.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>Acked-by: Paolo Bonzini <pbonzini@redhat.com>...
memory: add API for creating ROM/device regions
ROM/device regions act as mapped RAM for reads, can I/O memory forwrites. This allow emulation of flash devices.
Signed-off-by: Avi Kivity <avi@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
memory: correct documentation typos
Noted by Drew Jones.
qapi: fix build issue due to missing newline in generated header
Fixes a build issue on RHEL5, and potentially other distros, where gccwill generate an error due to us not writing a trailing "\n" whengenerating *qmp-commands.h
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>...
View all revisions | View revisions
Also available in: Atom