qemu-discuss
[Top][All Lists]
Advanced

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

Re: [Qemu-discuss] Qemu-discuss Digest, Vol 78, Issue 16


From: Holger Schranz
Subject: Re: [Qemu-discuss] Qemu-discuss Digest, Vol 78, Issue 16
Date: Fri, 23 Mar 2018 21:49:56 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0


Am 23.03.2018 um 11:03 schrieb address@hidden:
Send Qemu-discuss mailing list submissions to
        address@hidden

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.nongnu.org/mailman/listinfo/qemu-discuss
or, via email, send a message with subject or body 'help' to
        address@hidden

You can reach the person managing the list at
        address@hidden

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Qemu-discuss digest..."


Today's Topics:

    1. qemu-kvm and qemu-system-x86_64 (Deneau, Tom)
    2. Re: qemu-kvm and qemu-system-x86_64 (Jakob Bohm)
    3. Re: How do -icount flags work in QEMU TCG (Arnabjyoti Kalita)
    4. Antw:  qemu-kvm and qemu-system-x86_64 (Steffen Wei?gerber)
    5. Re: How do -icount flags work in QEMU TCG (Peter Maydell)


----------------------------------------------------------------------

Message: 1
Date: Thu, 22 Mar 2018 17:29:15 +0000
From: "Deneau, Tom" <address@hidden>
To: "address@hidden" <address@hidden>
Subject: [Qemu-discuss] qemu-kvm and qemu-system-x86_64
Message-ID:
        <address@hidden>

Content-Type: text/plain; charset="us-ascii"

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, 
/usr/libexec/qemu-kvm
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:
        <emulator>/usr/libexec/qemu-kvm</emulator>

Can I replace that with
    <emulator>/usr/local/bin/qemu-system-x86_64</emulator>
Yes, you can do it.
And given that I am already using
     <os>
         <type>hvm</type>
         <boot dev="hd"></boot>
     </os>

Will I get the same KVM acceleration as I was previously getting by using 
qemu-kvm?
qemu-kvm is hashed (/usr/bin/qemu-kvm)

more /usr/bin/qemu-kvm
#!/bin/sh

exec /usr/bin/qemu-system-x86_64 -machine accel=kvm "$@"
-- Tom Deneau




------------------------------

Message: 2
Date: Thu, 22 Mar 2018 21:39:02 +0100
From: Jakob Bohm <address@hidden>
To: address@hidden
Subject: Re: [Qemu-discuss] qemu-kvm and qemu-system-x86_64
Message-ID: <address@hidden>
Content-Type: text/plain; charset=utf-8; format=flowed

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, 
/usr/libexec/qemu-kvm
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:
         <emulator>/usr/libexec/qemu-kvm</emulator>

Can I replace that with
     <emulator>/usr/local/bin/qemu-system-x86_64</emulator>

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

Will I get the same KVM acceleration as I was previously getting by using 
qemu-kvm?

-- 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):

#!/bin/sh
exec qemu-system-x86_64 --enable-kvm "$@"

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

Enjoy

Jakob


---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren gepr├╝ft.
https://www.avast.com/antivirus




reply via email to

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