public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] kvm tools: fix wrong virtio id for balloon
@ 2011-08-17  9:44 Liming Wang
  2011-08-17  9:44 ` [PATCH 2/2] kvm tools: change option type of RNG from increment to boolean Liming Wang
  0 siblings, 1 reply; 6+ messages in thread
From: Liming Wang @ 2011-08-17  9:44 UTC (permalink / raw)
  To: Pekka Enberg; +Cc: Sasha Levin, Ingo Molnar, kvm

Replace the wrong rng virtio id with the correct balloon id.

Signed-off-by: Liming Wang <walimisdev@gmail.com>
---
 tools/kvm/virtio/balloon.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/kvm/virtio/balloon.c b/tools/kvm/virtio/balloon.c
index c5853a5..aba52d6 100644
--- a/tools/kvm/virtio/balloon.c
+++ b/tools/kvm/virtio/balloon.c
@@ -356,7 +356,7 @@ void virtio_bln__init(struct kvm *kvm)
 
 	bdev.base_addr = bdev_base_addr;
 
-	if (irq__register_device(VIRTIO_ID_RNG, &dev, &pin, &line) < 0)
+	if (irq__register_device(VIRTIO_ID_BALLOON, &dev, &pin, &line) < 0)
 		return;
 
 	bdev.pci_hdr.irq_pin	= pin;
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-08-17 15:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-17  9:44 [PATCH 1/2] kvm tools: fix wrong virtio id for balloon Liming Wang
2011-08-17  9:44 ` [PATCH 2/2] kvm tools: change option type of RNG from increment to boolean Liming Wang
2011-08-17 11:44   ` Pekka Enberg
2011-08-17 12:02     ` Sasha Levin
2011-08-17 15:14       ` walimis
2011-08-17 15:53         ` Sasha Levin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox