LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-30-2014, 03:20 AM   #1
timl
Member
 
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Fedora,CentOS
Posts: 750

Rep: Reputation: 156Reputation: 156
qemu advice


Hi, I installed F21 alpha today and I am trying to avoid 3rd party repos. So VirtualBox is out.

I am giving QEMU a go without much joy. From a look at:

http://en.wikibooks.org/wiki/QEMU/Images

I need to create an image in which to host the VM and then boot into it. I create an image thus:

Quote:
qemu-img create -f qcow2 fed.img 20G
Then I kick off the VM (I also tried boot -d with the same results):

Quote:
qemu-system-x86_64 -cdrom Fedora-Live-Workstation-x86_64-21_Alpha1/Fedora-Live-Workstation-x86_64-21_Alpha-1.iso -hda fed.img -boot c -m 2048
Now I have a reasonably healthy system with 8GB of RAM, F21 itself flies however QEMU is pretty slow – something like 15m to bring up the live OS (VirtualBox under F20 took something like 20s). And then when I get a Gnome desktop the lag between clicking an icon and actually seeing a response can be measured in 10s of seconds rather than anything like instantaneous. Long enough for you to wonder whether the keyclick was actually acknowledged. In fact I will go so far as to say it is unusable.

So, I must be getting something wrong.

Any tips on how to create an image and boot up the system I would be grateful. Am I missing something?

Cheers
 
Old 09-30-2014, 03:31 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

are you using KVM? See http://wiki.qemu.org/KVM

Evo2.
 
1 members found this post helpful.
Old 09-30-2014, 03:41 AM   #3
timl
Member
 
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Fedora,CentOS
Posts: 750

Original Poster
Rep: Reputation: 156Reputation: 156
Quote:
are you using KVM?
No I wasn't. I added

Quote:
-enable-kvm
to the qemu-system-x86_64 command and the live OS came up in the blinking of an eye I am just on my way out so I don't think I'll get a chance to read up further this evening. I'll get onto it in the morning.

Thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Set up qemu-kvm-1.0+noroms as spice enabled qemu server vs qemu-kvm-spice on Ubuntu Precise LXer Syndicated Linux News 0 05-26-2012 07:41 AM
qemu: hardware error: qemu: could not load PowerPC bios 'openbios-ppc' Skaperen Linux - Virtualization and Cloud 8 06-09-2011 07:15 AM
Error while installing qemu (qemu-kvm-0.13.0) in rhel 5.3 birla.sunil Linux - Virtualization and Cloud 2 10-19-2010 03:56 AM
On qemu-kvm, qemu-ifup script not found on Slackware 13 AndrewGaven Linux - Virtualization and Cloud 14 01-29-2010 03:36 AM
After qemu-img, qemu is not capable to detect the C drive (empty) frenchn00b Linux - General 3 10-18-2009 05:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration