From db421f151127538e15dd7b8e31c1279f6cb4c3f5 Mon Sep 17 00:00:00 2001 From: Asias He Date: Tue, 5 Jun 2012 22:42:39 +0800 Subject: [PATCH] kvm tools: Code cleanup for virtio/balloon.c Signed-off-by: Asias He Signed-off-by: Pekka Enberg --- tools/kvm/virtio/balloon.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/kvm/virtio/balloon.c b/tools/kvm/virtio/balloon.c index 45bd8d342e78..9f1d9bd426c2 100644 --- a/tools/kvm/virtio/balloon.c +++ b/tools/kvm/virtio/balloon.c @@ -209,9 +209,9 @@ static int init_vq(struct kvm *kvm, void *dev, u32 vq, u32 pfn) compat__remove_message(compat_id); - queue = &bdev->vqs[vq]; - queue->pfn = pfn; - p = guest_pfn_to_host(kvm, queue->pfn); + queue = &bdev->vqs[vq]; + queue->pfn = pfn; + p = guest_pfn_to_host(kvm, queue->pfn); thread_pool__init_job(&bdev->jobs[vq], kvm, virtio_bln_do_io, queue); vring_init(&queue->vring, VIRTIO_BLN_QUEUE_SIZE, p, VIRTIO_PCI_VRING_ALIGN); -- 2.39.5