<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://linux-kvm.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=ShengYang</id>
	<title>KVM - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://linux-kvm.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=ShengYang"/>
	<link rel="alternate" type="text/html" href="https://linux-kvm.org/page/Special:Contributions/ShengYang"/>
	<updated>2026-04-21T16:55:43Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.5</generator>
	<entry>
		<id>https://linux-kvm.org/index.php?title=RunningKVM&amp;diff=2322</id>
		<title>RunningKVM</title>
		<link rel="alternate" type="text/html" href="https://linux-kvm.org/index.php?title=RunningKVM&amp;diff=2322"/>
		<updated>2009-05-31T03:23:59Z</updated>

		<summary type="html">&lt;p&gt;ShengYang: add libpci-dev to required list, for device assignment&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
You will need (see download section):&lt;br /&gt;
&lt;br /&gt;
* kvm-&#039;&#039;release&#039;&#039;.tar.gz&lt;br /&gt;
* A VT capable Intel processor, or an SVM capable AMD processor&lt;br /&gt;
* qemu prerequisites:&lt;br /&gt;
** `zlib` libraries and headers&lt;br /&gt;
** `SDL` libraries and headers&lt;br /&gt;
** `alsa` libraries and headers (optional alsa support: disabled by default but can be enabled with --enable-alsa)&lt;br /&gt;
** `gnutls` libraries and headers (optional VNC TLS support: enabled by default but can be disabled with --disable-vnc-tls)&lt;br /&gt;
** kernel headers (on Fedora, the kernel-devel package)&lt;br /&gt;
&lt;br /&gt;
On a debian etch system you can install the prerequisites with:&lt;br /&gt;
  apt-get install gcc libsdl1.2-dev zlib1g-dev libasound2-dev linux-kernel-headers pkg-config libgnutls-dev libpci-dev&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; When building from git, you also need gawk.&lt;br /&gt;
&lt;br /&gt;
Please report problems (and successes) to the [[Lists,_IRC| mailing list]].&lt;br /&gt;
&lt;br /&gt;
== Unpacking and configuring kvm components ==&lt;br /&gt;
&lt;br /&gt;
You may wish to take a look at the [&amp;quot;Kernel-optimizations&amp;quot;] page.&lt;br /&gt;
There exists a [attachment:kvm-26-alt-grab.diff.gz patch] which will change the SDL keygrab combination from ctrl-alt to ctrl-alt-shift.  It was written primarily to deal with the heavy use of ctrl-alt-delete in NT-based VMs.&lt;br /&gt;
&lt;br /&gt;
If you are using a patched kernel (e.g. a recent -mm kernel or the kvm git tree), configure the kernel normally, boot into it, and:&lt;br /&gt;
&lt;br /&gt;
 tar xzf kvm-release.tar.gz&lt;br /&gt;
 cd kvm-release&lt;br /&gt;
 ./configure --prefix=/usr/local/kvm --with-patched-kernel&lt;br /&gt;
 make&lt;br /&gt;
 sudo make install&lt;br /&gt;
 sudo /sbin/modprobe kvm-intel&lt;br /&gt;
 # or: sudo /sbin/modprobe kvm-amd&lt;br /&gt;
&lt;br /&gt;
If you&#039;re &#039;&#039;not&#039;&#039; running a patched kernel:&lt;br /&gt;
&lt;br /&gt;
 tar xzf kvm-release.tar.gz &lt;br /&gt;
 cd kvm-release &lt;br /&gt;
 ./configure --prefix=/usr/local/kvm &lt;br /&gt;
 make &lt;br /&gt;
 sudo make install &lt;br /&gt;
 sudo /sbin/modprobe kvm-intel &lt;br /&gt;
 # or: sudo /sbin/modprobe kvm-amd&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; if sound doesn&#039;t play in the guest vm you can add --audio-drv-list=&amp;quot;alsa oss&amp;quot; to ./configure as explained in http://www.linux-kvm.com/content/sound-problem-solved&lt;br /&gt;
&lt;br /&gt;
== Creating a disk image for the guest ==&lt;br /&gt;
 /usr/local/kvm/bin/qemu-img create -f qcow vdisk.img 10G &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing a guest operating system ==&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/kvm/bin/qemu-system-x86_64 -hda vdisk.img -cdrom /path/to/boot-media.iso \ &lt;br /&gt;
    -boot d  -m 384&lt;br /&gt;
&lt;br /&gt;
(kvm doesn&#039;t make a distinction between i386 and x86_64 so even in i386 you should use `qemu-system-x86_64`)[[BR]]  &lt;br /&gt;
&lt;br /&gt;
If you have less than 1GB of memory don&#039;t use the -m 384 flag (which allocates 384 MB of RAM for the guest). For computers with 512MB of RAM it&#039;s safe to use -m 192, or even -m 128 (the default)&lt;br /&gt;
&lt;br /&gt;
== Running the newly-installed guest ==&lt;br /&gt;
 sudo /usr/local/kvm/bin/qemu-system-x86_64 vdisk.img -m 384&lt;br /&gt;
&lt;br /&gt;
or a slightly more complicated example, where it is assumed that bridged networking is available on tap0; see [&amp;quot;Kernel-optimizations&amp;quot;] for some setup hints:&lt;br /&gt;
&lt;br /&gt;
 /usr/local/kvm/bin/qemu-system-x86_64 -hda xp-curr.img -m 512 -soundhw es1370 -no-acpi -snapshot -localtime -boot c -usb -usbdevice tablet -net nic,vlan=0,macaddr=00:00:10:52:37:48 -net tap,vlan=0,ifname=tap0,script=no&lt;br /&gt;
&lt;br /&gt;
(kvm doesn&#039;t make a distinction between i386 and x86_64 so even in i386 you should use `qemu-system-x86_64`)&lt;br /&gt;
&lt;br /&gt;
If you&#039;re on Debian Etch, substitute `kvm` for `qemu-system-x86_64` (thanks to fromport, soren and mael_). See also the entries under the label &amp;quot;Ubuntu&amp;quot; on the [[HOWTO]] page.&lt;br /&gt;
qemu-system-x86_64`&lt;br /&gt;
&lt;br /&gt;
If you&#039;re on Fedora/RHEL/CentOS (and installed a kvm package and not built kvm yourself from source) then substitute &#039;&#039;&#039;qemu-kvm&#039;&#039;&#039; for &#039;&#039;&#039;qemu-system-x86_64&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>ShengYang</name></author>
	</entry>
	<entry>
		<id>https://linux-kvm.org/index.php?title=KVM_Forum_2008&amp;diff=1756</id>
		<title>KVM Forum 2008</title>
		<link rel="alternate" type="text/html" href="https://linux-kvm.org/index.php?title=KVM_Forum_2008&amp;diff=1756"/>
		<updated>2008-06-18T08:07:30Z</updated>

		<summary type="html">&lt;p&gt;ShengYang: My boss Xin is not there...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Information on the recently-concluded KVM Forum 2008 =&lt;br /&gt;
&lt;br /&gt;
==== Wednesday June 11th ====&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
| &amp;lt;b&amp;gt;Session Topic&amp;lt;/b&amp;gt; &lt;br /&gt;
| &amp;lt;b&amp;gt;Speaker&amp;lt;/b&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| [attachment:kdf2008_1.pdf Keynote] &lt;br /&gt;
| Avi Kivity, Qumranet &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| [attachment:kdf2008_2.pdf Cross platform guest support] &lt;br /&gt;
| Paul Knowles, Transitive &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| [attachment:kdf2008_3.pdf KVM in Solid ICE] &lt;br /&gt;
| Dor Laor, Qumranet &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| [attachment:kdf2008_4.pdf Buiding a better Userspace - The current and future state of QEMU and KVM integration] &lt;br /&gt;
| Anthony Liguori, IBM &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| [attachment:kdf2008_5.pdf Mixing Xen and KVM: Xenner] &lt;br /&gt;
| Gerd Hoffman, Red Hat &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| [attachment:kdf2008_6.pdf KVM Limits - Arbitrary or Architectual?]&lt;br /&gt;
| Ryan Harper, Karl Rister, IBM &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| [attachment:kdf2008_7.pdf VMDq and SR-IOV support in KVM]&lt;br /&gt;
| Eddie Dong, Intel&lt;br /&gt;
| &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Thursday June 12th ====&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
| &amp;lt;b&amp;gt;Session Topic&amp;lt;/b&amp;gt; &lt;br /&gt;
| &amp;lt;b&amp;gt;Speaker&amp;lt;/b&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| [attachment:kdf2008_8.pdf Mac OS X in KVM] &lt;br /&gt;
| Alexander Graf, Novell &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| [attachment:kdf2008_9.pdf Beyond kvm.ko] &lt;br /&gt;
| Avi Kivity, Qumranet &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| [attachment:kdf2008_10.pdf State of KVM in PowerPC] &lt;br /&gt;
| Christian Ehrhardt, IBM &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| [attachment:kdf2008_11.pdf Accelerating KVM with hardware technology] &lt;br /&gt;
| Sheng Yang, Intel&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| [attachment:kdf2008_12.pdf Increasing Virtual Machine density with KSM] &lt;br /&gt;
| Izik Eidus, Qumranet &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| [attachment:kdf2008_13.pdf Shadow TLB management] &lt;br /&gt;
| Hollis Blanchard, IBM &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| [attachment:kdf2008_14.pdf Passthrough device access for KVM] &lt;br /&gt;
| Amit Shah, Qumranet &amp;amp; Allan Kay, Intel &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| [attachment:kdf2008_15.pdf Integrating KVM with the Linux memory management]&lt;br /&gt;
| Andrea Arcangeli, Qumranet&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| [attachment:kdf2008_16.pdf Paravirtualized file systems]&lt;br /&gt;
| Eric Van Hensbergen, IBM research&lt;br /&gt;
| &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Friday June 13th ====&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
| &amp;lt;b&amp;gt;Session Topic&amp;lt;/b&amp;gt; &lt;br /&gt;
| &amp;lt;b&amp;gt;Speaker&amp;lt;/b&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| [attachment:kdf2008_17.pdf KVM on Big Iron: Where to go from here?]&lt;br /&gt;
| Carsten Otte, IBM&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| [attachment:kdf2008_18.pdf Enabling KVM on IA64 system]&lt;br /&gt;
| Eddie Dong, Intel&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| [attachment:kdf2008_19.pdf Open-OVF: an OSS project around the Open Virtual Appliance format]&lt;br /&gt;
| Hollis Blanchard, IBM&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| [attachment:kdf2008_20.pdf Mini VM - Extending KVM towards Embedded systems]&lt;br /&gt;
| Jun Nakajima, Intel&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| [attachment:kdf2008_21.pdf Nested paging hardware and software]&lt;br /&gt;
| Ben Serebrin &amp;amp; Joerg Roedel, AMD&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| Concluding keynote&lt;br /&gt;
| Benny Schnaider, Qumranet&lt;br /&gt;
| &lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>ShengYang</name></author>
	</entry>
</feed>