summaryrefslogtreecommitdiffstats
path: root/drivers/hsi/hsi_boardinfo.c
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2012-12-10 18:32:51 +0100
committerMarcelo Tosatti <mtosatti@redhat.com>2012-12-14 02:21:51 +0100
commit9c695d42dbd465bcaa865603b411a73c60e60978 (patch)
treeee8348edbd718928a384e2eb19103b3d163607ed /drivers/hsi/hsi_boardinfo.c
parentKVM: Restrict non-existing slot state transitions (diff)
downloadlinux-9c695d42dbd465bcaa865603b411a73c60e60978.tar.xz
linux-9c695d42dbd465bcaa865603b411a73c60e60978.zip
KVM: Check userspace_addr when modifying a memory slot
The API documents that only flags and guest physical memory space can be modified on an existing slot, but we don't enforce that the userspace address cannot be modified. Instead we just ignore it. This means that a user may think they've successfully moved both the guest and user addresses, when in fact only the guest address changed. Check and error instead. Reviewed-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'drivers/hsi/hsi_boardinfo.c')
0 files changed, 0 insertions, 0 deletions