summaryrefslogtreecommitdiff
path: root/cutils.c
diff options
context:
space:
mode:
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-04 19:58:45 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-04 19:58:45 +0000
commitf46f15bca78946f3debc9eaa6dbf3a9a9e57872d (patch)
tree57a14424ee023c12c648893eac927871929417a2 /cutils.c
parent6e02c38dadfe4cf02b0da6135adfd8d9352b90e1 (diff)
downloadqemu-f46f15bca78946f3debc9eaa6dbf3a9a9e57872d.tar.gz
Remove TARGET_PAGE_SIZE from virtio interface (Hollis Blanchard)
TARGET_PAGE_SIZE should only be used internal to qemu, not in guest/host interfaces. The virtio frontend code in Linux uses two constants (PFN shift and vring alignment) for the interface, so update qemu to match. I've tested this with PowerPC KVM and confirmed that it fixes virtio problems when using non-TARGET_PAGE_SIZE pages in the guest. Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5871 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cutils.c')
0 files changed, 0 insertions, 0 deletions