cris: Move sign extension.
Move it in preparation for further changes.No functional change.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@axis.com>
cris: Centralize fetching
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
tcg: Optionally sign-extend 32-bit arguments for 64-bit hosts.
Some hosts (amd64, ia64) have an ABI that ignores the high bitsof the 64-bit register when passing 32-bit arguments. Othersrequire the value to be properly sign-extended for the type.I.e. "int32_t" must be sign-extended and "uint32_t" must be...
cris: Make the CRISv32 insn decoders return signed int.
Prepare to return error from the individual decoders.
Fix comparison which always returned false
Comparing an 8 bit value with ~0 does not work as expected.Replace ~0 by UINT8_MAX in comparison and also in assignment(and fix coding style, too).
Cc: Gleb Natapov <gleb@redhat.com>Cc: Anthony Liguori <aliguori@us.ibm.com>...
xen: Fix build error due to missing include
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block: fix a warning and possible truncation
Fix a warning from OpenBSD gcc (3.3.5 (propolice)):/src/qemu/block.c: In function `bdrv_info_stats_bs':/src/qemu/block.c:1548: warning: long long int format, long unsignedint arg (arg 6)
There may be also truncation effects....
block: Decouple savevm from DriveInfo
We find snapshots by iterating over the list of drives defined withdrive_init(). This misses host block devices defined by other means.Such means don't exist now, but will be introduced later in thisseries.
Iterate over all host block devices instead, with bdrv_next()....
blockdev: Give drives internal linkage
This is the list of drives defined with drive_init(). Hide it, so itdoesn't get abused.
Signed-off-by: Markus Armbruster <armbru@redhat.com>Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Correct definitions for FD_CMD_SAVE and FD_CMD_RESTORE
Correct definitions for FD_CMD_SAVE and FD_CMD_RESTORE in hw/fdc.c
Per https://bugs.launchpad.net/qemu/+bug/424453 the correct valuesfor FD_CMD_SAVE is 0x2e and FD_CMD_RESTORE is 0x4e. Verified against...
View all revisions | View revisions
Also available in: Atom