Re: PATCH: Virtio memory balooning

2012-11-12 Thread Dinar Talypov
Hi, I'm not good at writing manuals, but here is man page bits for viomb(4): Index: Makefile === RCS file: /cvs/src/share/man/man4/Makefile,v retrieving revision 1.540 diff -u -r1.540 Makefile --- src/share/man/man4/Makefile 20 Sep 20

Re: PATCH: Virtio memory balooning

2012-11-07 Thread Dinar Talypov
Hi, Here is a updated version: - fixes panic when host requests more memory to deflate than guest has - some cleanup Index: files.pci === RCS file: /cvs/src/sys/dev/pci/files.pci,v retrieving revision 1.289 diff -u -r1.289 files.pci

Re: PATCH: Virtio memory balooning

2012-11-07 Thread Janne Johansson
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,

Re: PATCH: Virtio memory balooning

2012-11-07 Thread Janne Johansson
Any reason for this being i386 or just not tested on virtual amd64s? 2012/11/6 Dinar Talypov : > 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 vio