[ovs-dev] [PATCH 1/2] dpdk docs: Drop qemu-kvm for qemu-system-x86_64.

Stokes, Ian ian.stokes at intel.com
Thu Apr 19 08:40:05 UTC 2018


> Tiago Lam <tiago.lam at intel.com> writes:
> 
> > When explaining on how to add vhost-user ports to a guest, using
> > libvirt, point to the qemu-system-x86_64 binary by default, instead of
> > using qemu-kvm. The latter has been made obsolete and dropped from a
> > number of distributions (although it is still available on Fedora).
> >
> > This has been verified on both a Fedora 27 image and a Ubuntu 16.04
> > LTS image.
> >
> > Signed-off-by: Tiago Lam <tiago.lam at intel.com>
> > ---
> >  Documentation/topics/dpdk/vhost-user.rst | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/Documentation/topics/dpdk/vhost-user.rst
> > b/Documentation/topics/dpdk/vhost-user.rst
> > index ca8a328..74bab78 100644
> > --- a/Documentation/topics/dpdk/vhost-user.rst
> > +++ b/Documentation/topics/dpdk/vhost-user.rst
> > @@ -401,7 +401,7 @@ Sample XML
> >        <on_reboot>restart</on_reboot>
> >        <on_crash>destroy</on_crash>
> >        <devices>
> > -        <emulator>/usr/bin/qemu-kvm</emulator>
> 
> Looks like this isn't even a proper path on some systems.  For example,
> RHEL7 it's:
> 
>   /usr/libexec/qemu-kvm
> 
> So it's doubly wrong.
> 
> > +        <emulator>/usr/bin/qemu-system-x86_64</emulator>
> >          <disk type='file' device='disk'>
> >            <driver name='qemu' type='qcow2' cache='none'/>
> >            <source file='/root/CentOS7_x86_64.qcow2'/>
> 
> On the other hand, on my RHEL7.4 system, I don't have qemu-system-x86_64,
> but I do have qemu-kvm.
> 
> I do like cookbook examples, but it seems that sometimes the care and
> feeding of these sections gets cumbersome.  Maybe there's a way of
> including just the xml portions we need for a vhost-enabled libvirt xml
> configuration?
> 
> Just a thought.
> 
> Anyway:
> 
>   Acked-by: Aaron Conole <aconole at redhat.com>

Thanks all, pushed to DPDK_MERGE, I'll back port this to previous releases also.

Ian

> 
> Thanks, Tiago!
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev


More information about the dev mailing list