<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<blockquote
cite="mid:CAN0oX1aBwitmi2cihMwRP8D+K=Oh4H3Mvg_1O1X5ATesPuvv6Q@mail.gmail.com"
type="cite">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#FFFFFF" text="#000000"> <br>
</div>
</blockquote>
</div>
<div>Ah I never gave KVM or virtualization a try in Gentoo. None
of my servers have X though using X11 forwarding still works.
In CentOS the package is <span class="Apple-style-span"
style="font-family: Monaco, 'Lucida Console', monospace;
font-size: 10px; line-height: 14px; white-space: nowrap;
background-color: rgb(241, 241, 241); ">xorg-x11-xauth</span>
, looks like it may be x11-apps/xauth in Gentoo.</div>
</blockquote>
No X anywhere in my environment <smile>. Somehow I normally
manage!<br>
<br>
<blockquote
cite="mid:CAN0oX1aBwitmi2cihMwRP8D+K=Oh4H3Mvg_1O1X5ATesPuvv6Q@mail.gmail.com"
type="cite">
<div><br>
</div>
<div>Does "virsh iface-list" show tap5?</div>
</blockquote>
Actually that command errors out:<br>
<br>
<i>virsh # iface-list<br>
error: Failed to list active interfaces<br>
error: this function is not supported by the connection driver:
virConnectNumOfInterfaces</i><br>
<br>
<blockquote
cite="mid:CAN0oX1aBwitmi2cihMwRP8D+K=Oh4H3Mvg_1O1X5ATesPuvv6Q@mail.gmail.com"
type="cite">
<div><br>
</div>
<div>For the disk, this is what I have for my virtio disks...</div>
<div><br>
</div>
<div>
<div> <disk type='file' device='disk'></div>
<div> <driver name='qemu' type='qcow2'/></div>
<div> <source
file='/vmstore/images/domain0001.qcow2'/></div>
<div> <b> <target dev='vdb' bus='virtio'/></b></div>
<div> <address type='pci' domain='0x0000' bus='0x00'
slot='0x06' function='0x0'/></div>
<div> </disk></div>
</div>
</blockquote>
<br>
My XML had the type wrong, setting it to raw.<br>
<br>
Alas, I still see the invoked KVM being passed: <br>
<br>
<i>-drive
file=/kvms/test1.img,if=none,id=drive-virtio-disk0,boot=on,format=qcow2
</i><br>
<br>
The "if=none" is the problem, it needs to be "if=virtio". KVM is
also still being passed the "-S" flag as its first parameter, so the
CPUs are not starting. <br>
<br>
<blockquote
cite="mid:CAN0oX1aBwitmi2cihMwRP8D+K=Oh4H3Mvg_1O1X5ATesPuvv6Q@mail.gmail.com"
type="cite">
<div><br>
</div>
<div>Also maybe add something like this to your virt-install
line...</div>
<div><br>
</div>
<div>"--disk path=test1.img,device=disk,bus=virtio" <br>
</div>
</blockquote>
<br>
At this point, I'm just editing the XML, its easier. Once I get one
working, I can tweak for the others. Virt-install at least got me
started.<br>
<br>
Kevin<br>
</body>
</html>