kvm: halve number of set memory calls for vga
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 6 Apr 2011 19:09:54 +0000 (22:09 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 6 Apr 2011 20:08:03 +0000 (23:08 +0300)
commit1a5d52b869f81dc41e34f7c7e52fc9cf492449dd
tree12298ec462b2219bb85177e3ead928cda88ed54d
parent2b2c7b1db51a8fcb306b6306b269a9d4ae58ffdf
kvm: halve number of set memory calls for vga

use the new api to reduce the number of these (expensive)
system calls.

Note: using this API, we should be able to
get rid of vga_dirty_log_xxx APIs. Using them doesn't
affect the performance though because we detects
the log_dirty flag set and ignores the call.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
kvm-all.c