]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Add a wrapper function to open disk images
authorPrasad Joshi <prasadjoshi124@gmail.com>
Sun, 22 May 2011 16:24:04 +0000 (17:24 +0100)
committerPekka Enberg <penberg@kernel.org>
Sun, 22 May 2011 20:06:28 +0000 (23:06 +0300)
commita84578807bba6157e27443ab853ef5e4e66478c9
treeff2b2a00fc0788f207ff01ec6c993fcb4a8939c6
parent4e7132126adaa8d2bb503a25ea991722b692c14d
kvm tools: Add a wrapper function to open disk images

The patch was suggested by Ingo to move the disk image subsystem code
from the kvm-run.c file. The code to open all of the specified disk
images is now moved to a wrapper function in disk/core.c.

Signed-off-by: Prasad Joshi <prasadjoshi124@gmail.com>
Suggested-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/disk/core.c
tools/kvm/include/kvm/disk-image.h
tools/kvm/include/kvm/kvm.h
tools/kvm/kvm-run.c