PXE: Use consistent naming for PXE ROMs
And add missing ROMs to tarbin build target.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
pseries: Abolish envs array
Currently the pseries machine init code builds up an array, envs, ofCPUState pointers for all the cpus in the system. This is kind ofpointless, given the generic code already has a perfectly good linked listof the cpus.
In addition, there are a number of places which assume that the cpu's...
Delay creation of pseries device tree until reset
At present, the 'pseries' machine creates a flattened device tree in themachine->init function to pass to either the guest kernel or to firmware.
However, the machine->init function runs before processing of -device...
Don't call cpu_synchronize_state() from machine init.
This will deadlock when the I/O thread is used, since theCPU thread is blocked waiting for qemu_system_ready.
The synchronization is unnecessary since this is beforecpu_synchronize_all_post_init()....
spapr_vscsi: Set uninitialized variable
cppcheck reports this error:
hw/spapr_vscsi.c:274: error: Uninitialized variable: rc
If llen == 0, rc was indeed used without being initialized.
Signed-off-by: Stefan Weil <weil@mail.berlios.de>Signed-off-by: Alexander Graf <agraf@suse.de>
Merge remote branch 'kwolf/for-anthony' into staging
virtio-blk: fail unaligned requests
Like all block drivers virtio-blk should not allow small than block sizegranularity access. But given that the protocol specifies abyte unit length field we currently accept such requests, which causeqemu to abort() in lower layers. Add checks to the main read and...
spapr_llan: Fix warning when compiled with -dDEBUG
Compiling with the DEBUG macro causes leaves hw/spapr_llan.c with anunused variable, which is treated as an error in the qemu build.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>Signed-off-by: David Gibson <david@gibson.dropbear.id.au>...
virtio-9p: fixed LE-to-host conversion bug when QEMU is called from guest
The 9p code already contains an attempt at the necessary endianconversions, but it's broken.
The code which does conversion from host to guest does it correctlyand this code was copied to the function which does guest to host...
virtio-balloon: fixed endianness bug in the config space
The specification for the virtio balloon device requres that the valuesin the config space be encoded little-endian. This differs from mostvirtio things, where guest-native endian is the norm.
Currently, the qemu virtio-balloon code correctly makes the conversion...
View revisions
Also available in: Atom