[yocto] [Qemu-discuss] how to install qemu KVM 1.4.0 release

Nathan Sowatskey nathan at nathan.to
Sun Feb 7 03:30:23 PST 2016


Thanks Gilar

What did you download and install into please? For example, did you download an Ubuntu ISO and create a VM from that? If so, which one? Also, which hypervisor are you using, if any, and what is your host please?

Regards

Nathan

> On 07 Feb 2016, at 12:19, Gilar Dwitresna <gilardwitresna at gmail.com> wrote:
> 
> thank you very much for your reply and help..
> 
> I have installed qemu/kvm 1.4.0 release from this tutorial:
> 
> http://qemu-buch.de/de/index.php?title=QEMU-KVM-Buch/_QEMU%2BKVM_unter_Linux
> 
> 
> Then, I have install the following command:
> $sudo apt-get install build-essential gcc make wget
> $sudo apt-get install libdirectfb-dev libjpeg-dev
> $sudo apt-get install zlib1g-dev libsdl-gfx1.2-dev
> $sudo apt-get install gcc libsdl1.2-dev libasound2-dev 
> $sudo apt-get install pkg-config libpci-dev
> $sudo apt-get install dh-autoreconf
> $sudo apt-get install checkinstall
> $sudo apt-get install libsasl2-dev libgnutls-dev
> $sudo apt-get install libjpeg8-dev libvdeplug2-dev
> $sudo apt-get install libcurl4-gnutls-dev
> $sudo apt-get install libbluetooth-dev bluez
> $sudo apt-get install libxen-dev
> $sudo apt-get install texi2html texinfo
> $sudo apt-get install sparse
> $sudo apt-get install libbrlapi-dev
> $sudo apt-get install libspice-protocol-dev libspice-server-dev
> $sudo apt-get install libiscsi-dev
> 
> download the qemu-.1.4.0 source.
> $mkdir -p ~/source
> $cd ~/source
> $wget http://wiki.qemu-project.org/download/qemu-1.4.0.tar.bz2
> $tar xjvf qemu-1.4.0.tar.bz2
> $cd qemu-1.4.0
> 
> $./configure --prefix=/usr --enable-spice \
>         --audio-card-list=ac97,es1370,sb16,adlib,gus,cs4231a \
>         --enable-trace-backend=simple
> $make
> $sudo checkinstall --fstrans=no --pkgname=qemu-self-compiled \
>         --pkgversion=1.3
> >> qemu-self-compiled
> >>
> 
> $sudo make install
> 
> the installation finished..
> 
> then, I have following command from this website to installing VM on qemu/kvm 1.4.0:
> http://nairobi-embedded.org/01_qemu_intro.html
> 
> •Create a QEMU disk image
> There are a number of QEMU disk image formats. Commonly used formats include qcow2 and raw. To create a disk image in these formats:
> $ qemu-img create -f qcow2 prestine-13.04-desktop-amd64-img.qcow2 10G
> $ qemu-img create -f raw prestine-13.04-desktop-amd64-img.raw 10G
> 
> Install the distro in the disk image
> $ qemu-system-x86_64 -enable-kvm -smp 2 -m 1024 -localtime -hda prestine-13.04-desktop-amd64-img.qcow2 -cdrom ubuntu-13.04-desktop-amd64.iso -boot d
> 
> but, the problem is I can't install the VM manager for KVM like virt-manager.
> when I try to install virt-manager, with command:
> #apt-get install virt-manager
> 
> I have the error:
> The following packages have unmet dependencies:
>  virtinst : Depends: qemu-utils
> E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
> 
> 
> then, when I run the virt-manager, I have error:
> 
> Error talking to PackageKit: org.freedesktop.Packagekit.Modify.Failed: The package system is broken - Check if you are using third party repositories. If so disable them, since they are a common source of problems.
> Furthermore run the following command in a Terminal: apt-get install -f
>  The following packages have unmet dependencies:
> virtinst: Depends: python (>= 2.7.1-0ubuntu2) but 2.7.4-0ubuntu1 is installed
>           Depends: qemu-utils but it is not installed
> 
> 
> 
> regards.
> gilar
> 
>> On Sun, Feb 7, 2016 at 5:51 PM, Nathan Sowatskey <nathan at nathan.to> wrote:
>> Gilar
>> 
>> I think that you have a minor typo below, where you say “13.04” in lieu of “14.04”.
>> 
>> To help us help you, we need to be able to recreate what you have done already, ideally using CLI commands.
>> 
>> The screenshot you sent shows that you are installing something, but not whether there are any issues with that install, or, if there are issues, what those issues might be.
>> 
>> If you can reproduce your issue with CLI commands using software versions and tools that we can all access to, then it will be easier for us to help you.
>> 
>> As matters stand now, we cannot see what your issue is.
>> 
>> Regards
>> 
>> Nathan
>> 
>> 
>> > On 7 Feb 2016, at 11:40, Gilar Dwitresna <gilardwitresna at gmail.com> wrote:
>> >
>> > I have installed KVM package on my Ubuntu 14.04, and virt-manager for management VM..
>> > but my undergraduate thesis must be work on qemu/kvm 1.4.0 release version.
>> > then, I have installed Qemu/KVM 1.4.0 on my Ubuntu 13.04, but I can't connect the qemu/kvm 1.4.0 to the virt-manager/ other vm manager.
>> > can you give me  solutions?
>> >
>> > On Fri, Feb 5, 2016 at 10:02 PM, Nathan Sowatskey <nathan at nathan.to> wrote:
>> > Gilar
>> >
>> > Please tell us what you have tried so far, and what has happened. Show CLI output if you can please.
>> >
>> > Many thanks
>> >
>> > Nathan
>> >
>> > > On 5 Feb 2016, at 10:16, Gilar Dwitresna <gilardwitresna at gmail.com> wrote:
>> > >
>> > > Dear,
>> > > My name is Gilar Dwitresna, from Telkom University, Indonesia.
>> > > i'm interested with live migration on qemu kvm 1.4.0 release, but i have a problems in the installation of qemu kvm 1.4.0.
>> > > can i get the tutorial of installing kvm qemu 1.4.0? and what version of ubuntu that i can install qemu kvm1.4.0?
>> > > I intend to implement the live migration algorithm for my undergraduate thesis at Telkom University.
>> > > Thank you for your attention and help .
>> > >
>> > >
>> > > Best Regards,
>> > > Gilar Dwitresna
>> > > Telkom University
>> > > Indonesia
>> > >
>> >
>> >
>> > <qemu.JPG>
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160207/ee9f6fca/attachment.html>


More information about the yocto mailing list