LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 06-05-2014, 08:13 AM   #31
ericson007
Member
 
Registered: Sep 2004
Location: Japan
Distribution: CentOS 7.1
Posts: 735

Rep: Reputation: 154Reputation: 154

I thought if you don't have it enabled kvm will not function.

You can also make things run faster by adding more video ram to the disk image. By default only 9mb is assigned. You have to do that in the xml file though for the specific vm.
 
Old 06-05-2014, 12:46 PM   #32
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,336

Original Poster
Rep: Reputation: 54
Where are these XML files that tutorials talk about? I have yet to find that. Some tutorials even say to create it myself, but what do I put in it? I find the documentation is very lacking.

Anyway, I ended up giving up and went to VMware ESXi and VMs just fly now. Got it up and running in less than an hour, even got all my vlans working.

I can also make changes to the VM such as change the CD or network interface without having to shut down the VM for the changes to take effect. That was a big drawback I discovered afterwards while trying KVM.
 
Old 06-05-2014, 02:22 PM   #33
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,347

Rep: Reputation: Disabled
Quote:
Originally Posted by Red Squirrel View Post
Where are these XML files that tutorials talk about? I have yet to find that. Some tutorials even say to create it myself, but what do I put in it? I find the documentation is very lacking.
The XML files can be used with/by libvirt and aren't part of KVM per se. You can create an XML file for an existing VM with virsh dumpxml, and a VM can be created from an XML file with virsh define.

I have to agree about the documentation being somewhat unclear. I found it to be quite thorough when it came to explaining each separate setting, but a complete sample file would have literally saved me hours of trial and error.

Quote:
Originally Posted by Red Squirrel View Post
Anyway, I ended up giving up and went to VMware ESXi and VMs just fly now. Got it up and running in less than an hour, even got all my vlans working.
That's actually a pretty good description of my experiences with KVM over the last 6-8 years.

Quote:
Originally Posted by Red Squirrel View Post
I can also make changes to the VM such as change the CD or network interface without having to shut down the VM for the changes to take effect. That was a big drawback I discovered afterwards while trying KVM.
There's no drawback, as KVM allovs hotplugging of devices and media. You can do it with virsh, which actually has a half-decent help function.

But I'd have to agree that the GUIs in ESXi (and VirtualBox, for that matter) makes it much easier.
 
Old 06-05-2014, 03:22 PM   #34
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
Then I'd assume you didn't ever check this. lsmod|grep kvm

I tend to use vmware's products and they are some of the best for commercial uses.
 
Old 06-05-2014, 11:35 PM   #35
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,336

Original Poster
Rep: Reputation: 54
Yeah I had tried that, and the module was loaded (think it was called kvm_intel if I recall)

Though good to know that hot plugging is available through virsh. I just could not find any documentation saying how to do much in there and did not see any option. Everything seems to want a xml file but that's not really explained very well anywhere. Only snippets here and there but it's very vague.

One of these days I might look at writing a proper interface for kvm. Something that you can just point and click, like vmware, and with none of the limitations some of the existing ones like proxmox have (ex: not being able to read subfolders in the ISO folder). But now I just needed something up and running without messing around.
 
Old 06-06-2014, 02:58 PM   #36
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
There should already be a few gui's for qemu/KVM.
 
Old 06-18-2014, 04:18 PM   #37
fang0654
Member
 
Registered: Oct 2003
Location: New York, NY
Distribution: Ubuntu
Posts: 110

Rep: Reputation: 28
Quote:
Originally Posted by Red Squirrel View Post
Oh and another thing, why does it do this?



I imagine that will vary from distro to distro and most of the time I don't put a GUI anyway, but to me that seems really flaky. Is there a way to fix that?
From what I can tell, it has to do with compositing and transparencies. The only way I've found around it is to use Spice for accessing the VM. (I use proxmox, so it's pretty easy for me to do).
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how make ubuntu 10.04 more faster on my old pc candraxx Linux - Newbie 5 07-27-2010 10:24 AM
[SOLVED] make this script faster? shakazzolo Programming 19 07-14-2010 01:18 PM
How to make X startup faster ? wearetheborg Debian 6 04-01-2009 10:23 AM
How to make booting faster? tuxuser19 Debian 7 10-15-2005 04:42 AM
how to make MPlayer faster ? PunkPT Linux - Software 1 07-30-2004 03:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 04:55 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