KVM: Return EFAULT from kvm ioctl when guest accesses bad area
authorGleb Natapov <gleb@redhat.com>
Wed, 7 Jul 2010 17:16:45 +0000 (20:16 +0300)
committerAvi Kivity <avi@redhat.com>
Mon, 2 Aug 2010 03:40:33 +0000 (06:40 +0300)
Currently if guest access address that belongs to memory slot but is not
backed up by page or page is read only KVM treats it like MMIO access.
Remove that capability. It was never part of the interface and should
not be relied upon.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found