search for: virtballoon

Displaying 8 results from an estimated 8 matches for "virtballoon".

2008 Jan 08
1
[PATCH] kvm guest balloon driver
...virtio_balloon_hdr { + uint8_t cmd; + uint8_t status; +}; + +#define BALLOON_DATA_SIZE 200 + +struct balloon_buf { + struct virtio_balloon_hdr hdr; + u8 data[BALLOON_DATA_SIZE]; +}; + +struct balloon_work { + struct balloon_buf *buf; + struct list_head list; +}; + +#define VIRTIO_MAX_SG 2 + +struct virtballoon { + struct virtio_device *dev; + struct virtqueue *vq; + struct task_struct *balloon_thread; + wait_queue_head_t balloon_wait; + wait_queue_head_t rmmod_wait; + uint32_t target_nrpages; + atomic_t inflight_bufs; +}; + +struct balloon_page { + struct page *bpage; + struct list_head bp_list; +}; + +s...
2008 Jan 08
1
[PATCH] kvm guest balloon driver
...virtio_balloon_hdr { + uint8_t cmd; + uint8_t status; +}; + +#define BALLOON_DATA_SIZE 200 + +struct balloon_buf { + struct virtio_balloon_hdr hdr; + u8 data[BALLOON_DATA_SIZE]; +}; + +struct balloon_work { + struct balloon_buf *buf; + struct list_head list; +}; + +#define VIRTIO_MAX_SG 2 + +struct virtballoon { + struct virtio_device *dev; + struct virtqueue *vq; + struct task_struct *balloon_thread; + wait_queue_head_t balloon_wait; + wait_queue_head_t rmmod_wait; + uint32_t target_nrpages; + atomic_t inflight_bufs; +}; + +struct balloon_page { + struct page *bpage; + struct list_head bp_list; +}; + +s...
2008 Jan 14
6
[PATCH] KVM virtio balloon driver
...ntk(dev, str...) if (kvm_balloon_debug) dev_dbg(dev, str) + +#define BALLOON_DATA_SIZE 200 + +struct balloon_buf { + struct virtio_balloon_hdr hdr; + u8 data[BALLOON_DATA_SIZE]; +}; + +struct balloon_work { + struct balloon_buf *buf; + struct list_head list; +}; + +#define VIRTIO_MAX_SG 2 + +struct virtballoon { + struct virtio_device *vdev; + struct virtqueue *vq; + struct task_struct *balloon_thread; + wait_queue_head_t balloon_wait; + wait_queue_head_t rmmod_wait; + uint32_t target_nrpages; + atomic_t inflight_bufs; + int balloon_size; + struct list_head balloon_plist; + struct list_head balloon_work;...
2008 Jan 14
6
[PATCH] KVM virtio balloon driver
...ntk(dev, str...) if (kvm_balloon_debug) dev_dbg(dev, str) + +#define BALLOON_DATA_SIZE 200 + +struct balloon_buf { + struct virtio_balloon_hdr hdr; + u8 data[BALLOON_DATA_SIZE]; +}; + +struct balloon_work { + struct balloon_buf *buf; + struct list_head list; +}; + +#define VIRTIO_MAX_SG 2 + +struct virtballoon { + struct virtio_device *vdev; + struct virtqueue *vq; + struct task_struct *balloon_thread; + wait_queue_head_t balloon_wait; + wait_queue_head_t rmmod_wait; + uint32_t target_nrpages; + atomic_t inflight_bufs; + int balloon_size; + struct list_head balloon_plist; + struct list_head balloon_work;...
2012 Jun 26
6
[PATCH] Add a page cache-backed balloon device driver.
...nux/kthread.h> +#include <linux/module.h> +#include <linux/mount.h> +#include <linux/pagemap.h> +#include <linux/slab.h> +#include <linux/swap.h> +#include <linux/virtio.h> +#include <linux/virtio_balloon.h> +#include <linux/writeback.h> + +#define VIRTBALLOON_PFN_ARRAY_SIZE 256 + +struct virtio_balloon { + struct virtio_device *vdev; + struct virtqueue *inflate_vq; + + /* Where the ballooning thread waits for config to change. */ + wait_queue_head_t config_change; + + /* The thread servicing the balloon. */ + struct task_struct *thread; + + /* Waiting f...
2012 Jun 26
6
[PATCH] Add a page cache-backed balloon device driver.
...nux/kthread.h> +#include <linux/module.h> +#include <linux/mount.h> +#include <linux/pagemap.h> +#include <linux/slab.h> +#include <linux/swap.h> +#include <linux/virtio.h> +#include <linux/virtio_balloon.h> +#include <linux/writeback.h> + +#define VIRTBALLOON_PFN_ARRAY_SIZE 256 + +struct virtio_balloon { + struct virtio_device *vdev; + struct virtqueue *inflate_vq; + + /* Where the ballooning thread waits for config to change. */ + wait_queue_head_t config_change; + + /* The thread servicing the balloon. */ + struct task_struct *thread; + + /* Waiting f...
2012 Jul 25
0
No subject
...inux/pagemap.h> > >> +#include <linux/slab.h> > >> +#include <linux/swap.h> > >> +#include <linux/virtio.h> > >> +#include <linux/virtio_balloon.h> > >> +#include <linux/writeback.h> > >> + > >> +#define VIRTBALLOON_PFN_ARRAY_SIZE 256 > >> + > >> +struct virtio_balloon { > >> + struct virtio_device *vdev; > >> + struct virtqueue *inflate_vq; > >> + > >> + /* Where the ballooning thread waits for config to change. */ > >> + wait_queu...
2012 Jul 25
0
No subject
...inux/pagemap.h> > >> +#include <linux/slab.h> > >> +#include <linux/swap.h> > >> +#include <linux/virtio.h> > >> +#include <linux/virtio_balloon.h> > >> +#include <linux/writeback.h> > >> + > >> +#define VIRTBALLOON_PFN_ARRAY_SIZE 256 > >> + > >> +struct virtio_balloon { > >> + struct virtio_device *vdev; > >> + struct virtqueue *inflate_vq; > >> + > >> + /* Where the ballooning thread waits for config to change. */ > >> + wait_queu...