Message ID | 1313574294-23123-1-git-send-email-walimisdev@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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;
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(-)