search for: virtio_balloon_free_page_f_stop

Displaying 10 results from an estimated 10 matches for "virtio_balloon_free_page_f_stop".

2017 Oct 01
2
[PATCH v16 5/5] virtio-balloon: VIRTIO_BALLOON_F_CTRL_VQ
...e report is the the first new feature controlled via ctrl_vq, > and a new cmd class, VIRTIO_BALLOON_CTRLQ_CLASS_FREE_PAGE, is added. > Currently, this feature has two cmds: > VIRTIO_BALLOON_FREE_PAGE_F_START: This cmd is sent from host to guest > to start the free page report work. > VIRTIO_BALLOON_FREE_PAGE_F_STOP: This cmd is bidirectional. The guest > would send the cmd to the host to indicate the reporting work is done. > The host would send the cmd to the guest to actively request the stop > of the reporting work. > > The free_page_vq is used to transmit the guest free page blocks to the...
2017 Oct 01
2
[PATCH v16 5/5] virtio-balloon: VIRTIO_BALLOON_F_CTRL_VQ
...e report is the the first new feature controlled via ctrl_vq, > and a new cmd class, VIRTIO_BALLOON_CTRLQ_CLASS_FREE_PAGE, is added. > Currently, this feature has two cmds: > VIRTIO_BALLOON_FREE_PAGE_F_START: This cmd is sent from host to guest > to start the free page report work. > VIRTIO_BALLOON_FREE_PAGE_F_STOP: This cmd is bidirectional. The guest > would send the cmd to the host to indicate the reporting work is done. > The host would send the cmd to the guest to actively request the stop > of the reporting work. > > The free_page_vq is used to transmit the guest free page blocks to the...
2017 Sep 05
0
[PATCH v15 5/5] virtio-balloon: VIRTIO_BALLOON_F_CTRL_VQ
...eport is the the first new feature controlled via ctrl_vq, and a new > cmd class, VIRTIO_BALLOON_CTRLQ_CLASS_FREE_PAGE, is added. > Currently, this feature has two cmds: > VIRTIO_BALLOON_FREE_PAGE_F_START: This cmd is sent from host to guest to > start the free page reporting work. > VIRTIO_BALLOON_FREE_PAGE_F_STOP: This cmd is used bidirectionally. The > guest would send the cmd to the host to indicate the reporting work is done. > The host would send the cmd to the guest to actively request the stop of the > reporting work. > > The free_page_vq is used to transmit the guest free page blocks...
2017 Sep 05
0
[PATCH v15 5/5] virtio-balloon: VIRTIO_BALLOON_F_CTRL_VQ
...eport is the the first new feature controlled via ctrl_vq, and a new > cmd class, VIRTIO_BALLOON_CTRLQ_CLASS_FREE_PAGE, is added. > Currently, this feature has two cmds: > VIRTIO_BALLOON_FREE_PAGE_F_START: This cmd is sent from host to guest to > start the free page reporting work. > VIRTIO_BALLOON_FREE_PAGE_F_STOP: This cmd is used bidirectionally. The > guest would send the cmd to the host to indicate the reporting work is done. > The host would send the cmd to the guest to actively request the stop of the > reporting work. > > The free_page_vq is used to transmit the guest free page blocks...
2017 Sep 30
0
[PATCH v16 5/5] virtio-balloon: VIRTIO_BALLOON_F_CTRL_VQ
...s a data plane. Free page report is the the first new feature controlled via ctrl_vq, and a new cmd class, VIRTIO_BALLOON_CTRLQ_CLASS_FREE_PAGE, is added. Currently, this feature has two cmds: VIRTIO_BALLOON_FREE_PAGE_F_START: This cmd is sent from host to guest to start the free page report work. VIRTIO_BALLOON_FREE_PAGE_F_STOP: This cmd is bidirectional. The guest would send the cmd to the host to indicate the reporting work is done. The host would send the cmd to the guest to actively request the stop of the reporting work. The free_page_vq is used to transmit the guest free page blocks to the host. Signed-off-by: Wei...
2017 Oct 02
0
[PATCH v16 5/5] virtio-balloon: VIRTIO_BALLOON_F_CTRL_VQ
...;free_page_cmd_out) > > + return; > > + > > + class = virtio32_to_cpu(vb->vdev, msg->class); > > + cmd = virtio32_to_cpu(vb->vdev, msg->cmd); > > + > > + switch (class) { > > + case VIRTIO_BALLOON_CTRLQ_CLASS_FREE_PAGE: > > + if (cmd == VIRTIO_BALLOON_FREE_PAGE_F_STOP) { > > + vb->report_free_page_stop = true; > > + } else if (cmd == VIRTIO_BALLOON_FREE_PAGE_F_START) { > > + vb->report_free_page_stop = false; > > + queue_work(vb->balloon_wq, &vb- > >report_free_page_work); > > + } > > + vb->free_...
2017 Oct 10
2
[PATCH v16 5/5] virtio-balloon: VIRTIO_BALLOON_F_CTRL_VQ
...turn; > > > + > > > + class = virtio32_to_cpu(vb->vdev, msg->class); > > > + cmd = virtio32_to_cpu(vb->vdev, msg->cmd); > > > + > > > + switch (class) { > > > + case VIRTIO_BALLOON_CTRLQ_CLASS_FREE_PAGE: > > > + if (cmd == VIRTIO_BALLOON_FREE_PAGE_F_STOP) { > > > + vb->report_free_page_stop = true; > > > + } else if (cmd == VIRTIO_BALLOON_FREE_PAGE_F_START) { > > > + vb->report_free_page_stop = false; > > > + queue_work(vb->balloon_wq, &vb- > > >report_free_page_work); > > >...
2017 Oct 10
2
[PATCH v16 5/5] virtio-balloon: VIRTIO_BALLOON_F_CTRL_VQ
...turn; > > > + > > > + class = virtio32_to_cpu(vb->vdev, msg->class); > > > + cmd = virtio32_to_cpu(vb->vdev, msg->cmd); > > > + > > > + switch (class) { > > > + case VIRTIO_BALLOON_CTRLQ_CLASS_FREE_PAGE: > > > + if (cmd == VIRTIO_BALLOON_FREE_PAGE_F_STOP) { > > > + vb->report_free_page_stop = true; > > > + } else if (cmd == VIRTIO_BALLOON_FREE_PAGE_F_START) { > > > + vb->report_free_page_stop = false; > > > + queue_work(vb->balloon_wq, &vb- > > >report_free_page_work); > > >...
2017 Sep 30
12
[PATCH v16 0/5] Virtio-balloon Enhancement
This patch series enhances the existing virtio-balloon with the following new features: 1) fast ballooning: transfer ballooned pages between the guest and host in chunks using sgs, instead of one array each time; and 2) free page block reporting: a new virtqueue to report guest free pages to the host. The second feature can be used to accelerate live migration of VMs. Here are some details: Live
2017 Sep 30
12
[PATCH v16 0/5] Virtio-balloon Enhancement
This patch series enhances the existing virtio-balloon with the following new features: 1) fast ballooning: transfer ballooned pages between the guest and host in chunks using sgs, instead of one array each time; and 2) free page block reporting: a new virtqueue to report guest free pages to the host. The second feature can be used to accelerate live migration of VMs. Here are some details: Live