Difference between revisions of "Talk:KVM"

From ArchWiki
Jump to: navigation, search
(Removed note about arch installation and virtio vda disks: new section)
(kvm user group: remove closed discussion)
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
I'm partial to examples on stuff like this, so as I work through this I intend to add some; for example, under the creation of the image:  You can name the image whatever you would like, and likely set the size in GB, so the command to create an image named "arch-standard" with a size of 10G would be:  qemu-img create -f qcow2 arch-standard.qcow2 10G    This will create an image in your current directory; this image file will not be 10G, but something substantially smaller.
+
== Merge KVM article into QEMU ==
[[User:Nitmd|Nitmd]] ([[User talk:Nitmd|talk]])
+
  
== Removed note about arch installation and virtio vda disks ==
+
Because the QEMU-KVM fork of QEMU has been deprecated/obsoleted as of QEMU 1.3 [http://wiki.qemu.org/KVM] (about 9 months ago as of this writing [http://git.qemu.org/?p=qemu.git;a=tags]) and QEMU is now on version 1.6, we should strongly consider merging the [[KVM]] article into the main article for [[QEMU]]. A separate article for the KVM fork made sense historically, but now that the fork has been merged upstream, we should just keep everything on one page.
  
The link about the virtio vda devices seems to be out-of-date information. This issue has since been patched.  I have a brand new arch guest installation (2013.06.01 media) with a virtio disk, and it works beautifully.  I removed the note.
+
Does anyone disagree?<br>
[[User:Jslick|Jslick]] ([[User talk:Jslick|talk]]) 17:06, 6 July 2013 (UTC)
+
-- [[User:Jstjohn|Jstjohn]] ([[User talk:Jstjohn|talk]]) 16:29, 16 September 2013 (UTC)
 +
 
 +
:Good idea, I don't think anybody can disagree, as the main section of this article, [[KVM#How_to_use_KVM]], already just links to [[QEMU]] ^^
 +
:If then somebody considers [[QEMU]] to have become too long, it should be discussed to split it in some other way.
 +
:-- [[User:Kynikos|Kynikos]] ([[User talk:Kynikos|talk]]) 01:06, 18 September 2013 (UTC)
 +
 
 +
::The problems of [[KVM#Tips_and_tricks]] should be solved along the way, especially [[KVM#Live_snapshots]] which belongs to [[libvirt]] and not to [[QEMU]]. It should also be clearly stated which features are KVM-specific to avoid confusion.
 +
::-- [[User:Lahwaacz|Lahwaacz]] ([[User talk:Lahwaacz|talk]]) 10:44, 22 September 2013 (UTC)
 +
 
 +
:::I just merged [[KVM#Live_snapshots]] into [[libvirt]].
 +
:::-- [[User:Jstjohn|Jstjohn]] ([[User talk:Jstjohn|talk]]) 01:03, 7 November 2013 (UTC)
 +
 
 +
== Works with "AMD FX(tm)-8350 Eight-Core Processor" using 2013.11.01 64-bit ==
 +
 
 +
Using Arch Linux release 2013.11.01 in 64-bit mode... it boots fine. Following the wikis... this is basically the parameters I used
 +
 
 +
$ /usr/bin/qemu-system-x86_64 -boot d -m 1024 -hda '/home/user/path/to/storage' -cdrom '/path/to/archlinux-2013.11.01-dual.iso' -net nic,vlanx=0 -net user,vlan=0 -localtime -k en-gb -smp 8 -enable-kvm -cpu host &
 +
 
 +
* I also booted the Gentoo minimal ISO 20131010 in 64-bit mode (go to gentoo to find out more) using the same parameter but different ISO
 +
 
 +
$ /usr/bin/qemu-system-x86_64 -boot d -m 1024 -hda '/home/user/path/to/storage' -cdrom '/path/to/install-amd64-minimal-20131010.iso' -net nic,vlan=0 -net user,vlan=0 -localtime -k en-gb -smp 8 -enable-kvm -cpu host &
 +
 
 +
* During live CD boot up... I see this error message... which I think is normal...
 +
 
 +
  Failed to access perfctr msr (MSR c0010001 is ffffffffffffffff)
 +
 
 +
* You also get errors about not being able to access hardware... obvious why :p (unless I'm wrong)
 +
 
 +
* I haven't installed Arch Linux in the guest yet (busy :p) but will get some time to
 +
 
 +
* from what I can see, the parameter "nested" is already set to "1" for the {{ic|kvm_amd}} module when using the {{ic|systool}} command before applying the "nested" parameter myself
 +
 
 +
* I found loading {{ic|kvm}} or {{ic|kvm_amd}} loads both
 +
 
 +
* you should say {{ic|grep svm /proc/cpuinfo}} for AMD
 +
 
 +
* I have another AMD machine which has "AMD Phenom II x4 955" (showing the {{ic|svm}} CPU flag from {{ic|/proc/cpuinfo}} file which too is using Arch Linux (my server) when I have time... will try it out there
 +
 
 +
* I do plan to move to Intel... better drivers... lets get cracking before I move to Intel
 +
 
 +
* I'm new to wiki code :p<br>
 +
-- [[User:Sinatosk|Sinatosk]] ([[User talk:Sinatosk|talk]]) 22:34, 4 November 2013

Revision as of 02:59, 26 November 2013

Merge KVM article into QEMU

Because the QEMU-KVM fork of QEMU has been deprecated/obsoleted as of QEMU 1.3 [1] (about 9 months ago as of this writing [2]) and QEMU is now on version 1.6, we should strongly consider merging the KVM article into the main article for QEMU. A separate article for the KVM fork made sense historically, but now that the fork has been merged upstream, we should just keep everything on one page.

Does anyone disagree?
-- Jstjohn (talk) 16:29, 16 September 2013 (UTC)

Good idea, I don't think anybody can disagree, as the main section of this article, KVM#How_to_use_KVM, already just links to QEMU ^^
If then somebody considers QEMU to have become too long, it should be discussed to split it in some other way.
-- Kynikos (talk) 01:06, 18 September 2013 (UTC)
The problems of KVM#Tips_and_tricks should be solved along the way, especially KVM#Live_snapshots which belongs to libvirt and not to QEMU. It should also be clearly stated which features are KVM-specific to avoid confusion.
-- Lahwaacz (talk) 10:44, 22 September 2013 (UTC)
I just merged KVM#Live_snapshots into libvirt.
-- Jstjohn (talk) 01:03, 7 November 2013 (UTC)

Works with "AMD FX(tm)-8350 Eight-Core Processor" using 2013.11.01 64-bit

Using Arch Linux release 2013.11.01 in 64-bit mode... it boots fine. Following the wikis... this is basically the parameters I used

$ /usr/bin/qemu-system-x86_64 -boot d -m 1024 -hda '/home/user/path/to/storage' -cdrom '/path/to/archlinux-2013.11.01-dual.iso' -net nic,vlanx=0 -net user,vlan=0 -localtime -k en-gb -smp 8 -enable-kvm -cpu host &
  • I also booted the Gentoo minimal ISO 20131010 in 64-bit mode (go to gentoo to find out more) using the same parameter but different ISO
$ /usr/bin/qemu-system-x86_64 -boot d -m 1024 -hda '/home/user/path/to/storage' -cdrom '/path/to/install-amd64-minimal-20131010.iso' -net nic,vlan=0 -net user,vlan=0 -localtime -k en-gb -smp 8 -enable-kvm -cpu host &
  • During live CD boot up... I see this error message... which I think is normal...
Failed to access perfctr msr (MSR c0010001 is ffffffffffffffff)
  • You also get errors about not being able to access hardware... obvious why :p (unless I'm wrong)
  • I haven't installed Arch Linux in the guest yet (busy :p) but will get some time to
  • from what I can see, the parameter "nested" is already set to "1" for the kvm_amd module when using the systool command before applying the "nested" parameter myself
  • I found loading kvm or kvm_amd loads both
  • you should say grep svm /proc/cpuinfo for AMD
  • I have another AMD machine which has "AMD Phenom II x4 955" (showing the svm CPU flag from /proc/cpuinfo file which too is using Arch Linux (my server) when I have time... will try it out there
  • I do plan to move to Intel... better drivers... lets get cracking before I move to Intel
  • I'm new to wiki code :p

-- Sinatosk (talk) 22:34, 4 November 2013