]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Fix large disk images on 32-bit
authorPekka Enberg <penberg@kernel.org>
Thu, 31 Mar 2011 08:50:09 +0000 (11:50 +0300)
committerPekka Enberg <penberg@kernel.org>
Thu, 31 Mar 2011 16:09:54 +0000 (19:09 +0300)
commitcad1862cd0da7bb4706a55beee05c7848371eff0
treea337b9aef5ea41c9879787f6ae113438aec18387
parent022c233639e19fe07156ce2706e4d1ce8836481e
kvm tools: Fix large disk images on 32-bit

Use read()/write() instead of mmap() for virtio block device emulation to
support large disk images on 32-bit.

Reported-and-tested-by: Asias He <asias.hejun@gmail.com>
Tested-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/Makefile
tools/kvm/disk-image.c
tools/kvm/include/kvm/disk-image.h
tools/kvm/include/kvm/read-write.h [new file with mode: 0644]
tools/kvm/read-write.c [new file with mode: 0644]