summaryrefslogtreecommitdiffstats
path: root/hw/spapr.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2012-09-20 17:42:30 +0000
committerAlexander Graf <agraf@suse.de>2012-10-04 15:54:18 +0200
commit35f9304d925a5423c51bd2c83a81fa3cc2b6e680 (patch)
tree47c972d944fc2b043b27f300e776d53fa0709be4 /hw/spapr.c
parent5a1972c8472fafd519a68b689fdcaf33ec857945 (diff)
downloadhqemu-35f9304d925a5423c51bd2c83a81fa3cc2b6e680.zip
hqemu-35f9304d925a5423c51bd2c83a81fa3cc2b6e680.tar.gz
pseries: Remove unnecessary locking from PAPR hash table hcalls
In the paravirtualized environment provided by PAPR, there is a standard locking scheme so that hypercalls updating the hash page table from different guest threads don't corrupt the haah table state. We implement this HVLOCK bit in out page table hypercalls. However, it is not necessary in our case, since the hypercalls all run in the qemu environment under the big qemu lock. Therefore, this patch removes the locking code. This has the additional advantage of freeing up a hash PTE bit which will be useful for migration support. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/spapr.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud