Skip to contentSkip to conversation

dev-manual-qemu.xml: Add kvm-vhost option.

PATCH In review Aníbal Limón 1 participant 2 messages Nov 17, 2015 – Nov 18, 2015 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dev-manual-qemu.xml: Add kvm-vhost option.

Since 2.0 release KVM mode don't require VHOST enablement [1] and a new option was added to support the old mode.

[1] http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=eebcbe19b7

---
 documentation/dev-manual/dev-manual-qemu.xml | 7 +++++++
 1 file changed, 7 insertions(+)
documentation/dev-manual/dev-manual-qemu.xml +7 -0
index ccc915f..68d60e3 100644
@@ -219,6 +219,13 @@
                             The  build host <filename>/dev/kvm</filename>
                             directory has to be both writable and readable.
                             </para></listitem>
+                    </itemizedlist>
+                    </para></listitem>
+                <listitem><para><filename>kvm-vhost</filename>:
+                    Enables KVM with VHOST support when running "qemux86" or "qemux86-64"
+                    QEMU architectures.
+                    For KVM with VHOST to work, the conditions from kvm option must be met also:
+                    <itemizedlist>
                         <listitem><para>
                             The build host <filename>/dev/vhost-net</filename>
                             directory has to be either readable or writable
Signature · 1 line
2.1.4

A message that is not in the archive (sent off-list or not yet received): CAFNP8OuX__28Sk0XP9PnDR+NLnxQdCMrN_nuANgccm9tCaHoyg@mail.gmail.com

#2 lore raw

Hi Scott,

Your changes looks good thanks but i forget to move this line to kvm-vhost:

Your build host has to have virtio net device, which are /dev/vhost-net.

Sorry for the inconveniences.

Sending another patch...

Best regards,
alimon

Quoted 51 lines · Scott Rifenbark

Hi,

Applied this patch with some modifications. Please see
http://www.yoctoproject.org/docs/2.0/dev-manual/dev-manual.html#qemu-using-the-runqemu-command
for the changes.

Thanks,
Scott

Quoted 38 lines · Aníbal Limón

Since 2.0 release KVM mode don't require VHOST enablement [1] and a new option was added to support the old mode.

[1] http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=eebcbe19b7

---
 documentation/dev-manual/dev-manual-qemu.xml | 7 +++++++
 1 file changed, 7 insertions(+)
documentation/dev-manual/dev-manual-qemu.xml +0 -0
index ccc915f..68d60e3 100644
@@ -219,6 +219,13 @@
                             The  build host <filename>/dev/kvm</filename>
                             directory has to be both writable and

readable.

                             </para></listitem>
documentation/dev-manual/dev-manual-qemu.xml +4 -0
+                    </itemizedlist>
+                    </para></listitem>
+                <listitem><para><filename>kvm-vhost</filename>:
+                    Enables KVM with VHOST support when running "qemux86"

or "qemux86-64"

documentation/dev-manual/dev-manual-qemu.xml +2 -0
+                    QEMU architectures.
+                    For KVM with VHOST to work, the conditions from kvm

option must be met also:
+ <itemizedlist>
<listitem><para>
The build host
<filename>/dev/vhost-net</filename>
directory has to be either readable or
writable
--
2.1.4