Ok, so I added the required line to amd64 GENERIC and ran a KVM guest
with it, dmesg now says:

virtio1 at pci0 dev 5 function 0 "Qumranet Virtio Memory" rev 0x00:
Virtio Memory Balloon Device
viomb0 at virtio1
virtio1: apic 1 int 10

Dont think I have enough shiny GUIs to monitor ballooning stats, but
I'll see if I can dig something up on the host machine.

2012/11/7 Janne Johansson <[email protected]>:
> Any reason for this being i386 or just not tested on virtual amd64s?
>
> 2012/11/6 Dinar Talypov <[email protected]>:
>> Hi,
>> This patch adds virtio memory ballooning device support.
>> Actually code was taken from NetBSD and I rewrote some
>> OpenBSD specific parts.
>>
>
> ----
>
>> +static const struct virtio_feature_name viomb_feature_names[] = {
>> +       {VIRTIO_BALLOON_F_MUST_TELL_HOST, "TellHost"},
>> +       {VIRTIO_BALLOON_F_STATS_VQ, "StatVQ"},
>> +       {0, NULL}
>> +};
>> +#define PGS_PER_REQ            256     /* 1MB, 4KB/page */
>
> ---cut--
>
>> +
>> +#define PGS_PER_REQ    256     /* 1MB, 4KB/page */
>> +
>
> Small nit, but this appears twice.
>
>
> --
>  To our sweethearts and wives.  May they never meet. -- 19th century toast



-- 
 To our sweethearts and wives.  May they never meet. -- 19th century toast

Reply via email to