From: Liming Wang <walimisdev@gmail.com>
To: Pekka Enberg <penberg@kernel.org>
Cc: Sasha Levin <levinsasha928@gmail.com>,
Ingo Molnar <mingo@elte.hu>, <kvm@vger.kernel.org>
Subject: [PATCH 1/2] kvm tools: fix wrong virtio id for balloon
Date: Wed, 17 Aug 2011 17:44:53 +0800 [thread overview]
Message-ID: <1313574294-23123-1-git-send-email-walimisdev@gmail.com> (raw)
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
next reply other threads:[~2011-08-17 10:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-17 9:44 Liming Wang [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1313574294-23123-1-git-send-email-walimisdev@gmail.com \
--to=walimisdev@gmail.com \
--cc=kvm@vger.kernel.org \
--cc=levinsasha928@gmail.com \
--cc=mingo@elte.hu \
--cc=penberg@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox