search for: virtio_balloon_ctrlq_class_free_page

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

2017 Sep 05
0
[PATCH v15 5/5] virtio-balloon: VIRTIO_BALLOON_F_CTRL_VQ
...rol plane and data plane > separated. In other words, the control related data of each feature will be sent > via the ctrl_vq cmds, meanwhile each feature may have its own data plane vq. > > 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 reporting work. > VIRTIO_BALLOON_FREE_PAGE_F_STOP: This cmd is used bidirectionally. The > guest would send the cmd to the host to indic...
2017 Sep 05
0
[PATCH v15 5/5] virtio-balloon: VIRTIO_BALLOON_F_CTRL_VQ
...rol plane and data plane > separated. In other words, the control related data of each feature will be sent > via the ctrl_vq cmds, meanwhile each feature may have its own data plane vq. > > 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 reporting work. > VIRTIO_BALLOON_FREE_PAGE_F_STOP: This cmd is used bidirectionally. The > guest would send the cmd to the host to indic...
2017 Oct 01
2
[PATCH v16 5/5] virtio-balloon: VIRTIO_BALLOON_F_CTRL_VQ
...data > plane separated. In other words, the control related commands of each > feature will be sent via the ctrl_vq, meanwhile each feature may have > its own vq used as 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 re...
2017 Oct 01
2
[PATCH v16 5/5] virtio-balloon: VIRTIO_BALLOON_F_CTRL_VQ
...data > plane separated. In other words, the control related commands of each > feature will be sent via the ctrl_vq, meanwhile each feature may have > its own vq used as 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 re...
2017 Sep 30
0
[PATCH v16 5/5] virtio-balloon: VIRTIO_BALLOON_F_CTRL_VQ
...to have the control plane and data plane separated. In other words, the control related commands of each feature will be sent via the ctrl_vq, meanwhile each feature may have its own vq used as 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...
2017 Oct 02
0
[PATCH v16 5/5] virtio-balloon: VIRTIO_BALLOON_F_CTRL_VQ
...cycling, so just return. */ > > + if (msg == &vb->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_...
2017 Oct 10
2
[PATCH v16 5/5] virtio-balloon: VIRTIO_BALLOON_F_CTRL_VQ
...t; + if (msg == &vb->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,...
2017 Oct 10
2
[PATCH v16 5/5] virtio-balloon: VIRTIO_BALLOON_F_CTRL_VQ
...t; + if (msg == &vb->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,...
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