[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-discuss] qemu-kvm and qemu-system-x86_64

From: Jakob Bohm
Subject: Re: [Qemu-discuss] qemu-kvm and qemu-system-x86_64
Date: Thu, 22 Mar 2018 21:39:02 +0100
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

On 22/03/2018 18:29, Deneau, Tom wrote:
My situation: I want to run a KVM-accelerated qemu but I want to build 
everything involved from the latest sources and use those instead of any 
downloadable distro packages.  (This is on SLES12-SP3 although I don't think 
the distro matters).

I am able to build and install from
    * http://github.com/qemu/qemu using  ../configure 
--target-list=x86_64-softmmu --enable-kvm --prefix=/usr --sysconfdir=/etc
    * http://github.com/libvirt/libvirt  using ./configure --prefix=/usr 
--sysconfdir=/etc --localstatedir=/var

Before running make install,  I also removed the existing distro packages like 
libvirt, libvirt-client, qemu-kvm, etc.

My  question:  In the installed distro packages there was an executable, 
But after building and installing qemu from sources as above, I did not see any 
new qemu-kvm.
Is there some other repository I need to build from to get qemu-kvm?

I ask because I am starting vms using virsh define xyz.xml; virsh start xyz.  
And in the original .xml files I had the following under devices:

Can I replace that with

And given that I am already using
         <boot dev="hd"></boot>

Will I get the same KVM acceleration as I was previously getting by using 

-- Tom Deneau

For many years now, qemu-kvm has been a small shell script that prefixes
"--enable-kvm" to the other arguments.

Something like (guessing since its no longer on my system):

exec qemu-system-x86_64 --enable-kvm "$@"

It was only a real program before kvm support was merged into standard


Jakob Bohm, CIO, Partner, WiseMo A/S.  https://www.wisemo.com
Transformervej 29, 2860 Søborg, Denmark.  Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded

reply via email to

[Prev in Thread] Current Thread [Next in Thread]