Extra scan codes for missing keys
The code comes fromhttp://lists.gnu.org/archive/html/qemu-devel/2010-05/msg02788.html
Without this patch it is not possible to send at least 10 specialcharacters (\|'"`~:;[]{}) via the monitor sendkey command.
Signed-off-by: Bernhard M. Wiedemann <qemudevbmw@lsmod.de>...
give some useful error messages when tap open
In net/tap-linux.c, when manipulation of /dev/net/tun fails, it prints(with fprintf) something like this:
warning: could not open /dev/net/tun: no virtual network emulation
this has 2 issues: 1) it is not a warning really, it's a fatal error (kvm exits after...
qcow: Use bdrv_(p)write_sync for metadata writes
Use bdrv_(p)write_sync to ensure metadata integrity in case of a crash.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qcow2: Use bdrv_(p)write_sync for metadata writes
vmdk: Use bdrv_(p)write_sync for metadata writes
vpc: Use bdrv_(p)write_sync for metadata writes
qemu-io: check registered fds in command_loop()
Some block drivers use an aio handler and do I/O completion routinesin it. However, the handler is not invoked if we only doaio_read/write, because registered fds are not checked at all.
This patch registers an aio handler of STDIO to checks whether we can...
virtio-blk: fix the list operation in virtio_blk_load().
Although it is really rare to get in to the while loop, the listoperation in the loop is obviously wrong.
Signed-off-by: Yoshiaki Tamura <tamura.yoshiaki@lab.ntt.co.jp>Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qcow2: Fix qemu-img check segfault on corrupted images
With corrupted images, we can easily get an cluster index that exceeds thearray size of the temporary refcount table.
qcow2: Don't try to check tables that couldn't be loaded
Trying to check them leads to a second error message which is more confusingthan helpful:
Can't get refcount for cluster 0: Invalid argument ERROR cluster 0 refcount=-22 reference=1
View all revisions | View revisions
Also available in: Atom