<div class="gmail_quote">2009/10/9 Mark McLoughlin <span dir="ltr"><<a href="mailto:markmc@redhat.com">markmc@redhat.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">On Fri, 2009-10-09 at 13:14 +0400, Anton Protopopov wrote:<br>
> 2009/10/9 Mark McLoughlin <<a href="mailto:markmc@redhat.com">markmc@redhat.com</a>><br>
><br>
> On Fri, 2009-10-09 at 12:45 +0400, Anton Protopopov wrote:<br>
> > 2009/10/9 Mark McLoughlin <<a href="mailto:markmc@redhat.com">markmc@redhat.com</a>><br>
> > Hi Anton,<br>
> ><br>
> ><br>
> > On Thu, 2009-10-08 at 17:58 +0400, Anton Protopopov<br>
> wrote:<br>
> > > Hi, all.<br>
> > ><br>
> > > When I trying to create a kvm machine using<br>
> virt-manager, I<br>
> > get the<br>
> > > following error message:<br>
> > ><br>
> > > Unable to complete install '<class<br>
> 'libvirt.libvirtError'><br>
> > internal<br>
> > > error unable to start guest: Supported machines<br>
> are:<br>
> > > pc Standard PC (default)<br>
> > > isapc ISA-only PC<br>
> > ><br>
> > > The problem is that virt-manager uses "M=pc-0.11"<br>
> parameter<br>
> > in kvm<br>
> > > command line, while<br>
> > > # virsh -c qemu:///system capabilities<br>
> > > ...<br>
> > > <domain type='kvm'><br>
> > > <emulator>/usr/bin/kvm</emulator><br>
> > > <machine>pc</machine><br>
> > > <machine>isapc</machine><br>
> > > </domain><br>
> > > ...<br>
> > > so it should be "M=pc" there.<br>
> > ><br>
> > > The similar problem was in libvirt recenlty, but<br>
> it was<br>
> > solved in<br>
> > > 0.7.1. See the following<br>
> > > discussion:<br>
> > ><br>
> ><br>
> <a href="http://www.mail-archive.com/libvir-list@redhat.com/msg16154.html" target="_blank">http://www.mail-archive.com/libvir-list@redhat.com/msg16154.html</a><br>
> ><br>
> ><br>
> > Do you mean this still happens even with the fixed<br>
> version of<br>
> > libvirt?<br>
> > Exactly. I can create a machine using libvirt, but I can't<br>
> create a<br>
> > machine<br>
> > using virt-manager. My versions are:<br>
> > # rpm -q libvirt python-module-libvirt<br>
> python-module-virtinst<br>
> > virt-manager<br>
> > libvirt-0.7.1-alt2<br>
> > python-module-libvirt-0.7.1-alt2<br>
> > python-module-virtinst-0.500.0-alt1<br>
> > virt-manager-0.8.0-alt1<br>
><br>
><br>
> Could you post your ~/.virt-manager/virt-manager.log?<br>
> Reading ~/.virt-manager/virt-manager.log I understand what<br>
> is actually happens: The machine description is<br>
> ...<os><br>
> <type arch='x86_64'>hvm</type><br>
> ...<br>
> ...</os><br>
> And libvirt dies on that (setting machine="pc-0.11").<br>
> If I manually add machine='pc' here, then all works fine.<br>
><br>
> So is it a libvirt bug or virt-manager must write a "machine='smth'"<br>
> to description?<br>
<br>
</div></div>Posting the full log might help ...<br>
<br>
Is there an <emulator> tag ? If there is and it's /usr/bin/kvm, then it<br>
sounds like a libvirt bug that it's picking pc-0.11<br></blockquote><div>Yes, it is looking so. If I take a machine, created by libvirt that is working fine and change<br> <os><br> <type arch='x86_64' machine='pc'>hvm</type><br>
<boot dev='hd'/><br> </os><br>to<br> <os><br>
<type arch='x86_64'>hvm</type><br>
<boot dev='hd'/><br>
</os><br>
then, libvirt fails:<br> virsh # start DD<br> error: Failed to start domain DD<br> error: internal error unable to start guest: Supported machines are:<br> pc Standard PC (default)<br> isapc ISA-only PC<br>
<br>So, it is a libvirt bug, isn't it? Will you post it to libvirt list or should I do it myself?<br></div></div>