kvm: libkvm: automatic memory slot management
commit53ea769a69ac8f6199e3ebd33b77fca91f573f53
authorIzik Eidus <izike@qumranet.com>
Sat, 27 Oct 2007 19:18:15 +0000 (27 21:18 +0200)
committerAvi Kivity <avi@qumranet.com>
Sun, 28 Oct 2007 13:24:22 +0000 (28 15:24 +0200)
tree5daa2adb79d31824332ec912293d004352086855
parentb9ef9780421d36aa451102056a8e69cb462eaa83
kvm: libkvm: automatic memory slot management

this make the registation of memory slot safer, and make it more easy to
vmctl integrate with qemu.

note: if the kernel have no set tss ioctl, then slot 0 must be saved and used
only by the extended memory.

Signed-off-by: Izik Eidus <izike@qumranet.com>
hw/cirrus_vga.c
hw/pc.c
hw/vga.c
kvm/user/kvmctl.c
kvm/user/kvmctl.h