<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">However , virt-install just started creating OSOL0906 HVM :-<br><br>[root@ServerXen341 boris]# virt-install --debug -n OSOLHVM --hvm -r 1024 --vcpus=1 -f /dev/sdb6 --vnc -c /home/boris/osol-0906-x86.iso<br>Thu, 20 Aug 2009 09:36:36 DEBUG    Launched with command line:<br>/usr/sbin/virt-install --debug -n OSOLHVM --hvm -r 1024 --vcpus=1 -f /dev/sdb6 --vnc -c /home/boris/osol-0906-x86.iso<br>Thu, 20 Aug 2009 09:36:36 DEBUG    Requesting libvirt URI default<br>Thu, 20 Aug 2009 09:36:36 DEBUG    Received libvirt URI xen:///<br>Thu, 20 Aug 2009 09:36:36 DEBUG    Requesting virt method 'hvm', hv type 'default'.<br>Thu, 20 Aug 2009 09:36:36 DEBUG    Received virt method 'hvm'<br>Thu, 20 Aug 2009 09:36:36 DEBUG    Hypervisor name is 'xen'<br>Thu, 20 Aug 2009 09:36:36
 DEBUG    DistroInstaller location is a local file/path: /home/boris/osol-0906-x86.iso<br><br><br>Starting install...<br>Thu, 20 Aug 2009 09:36:36 DEBUG    Creating guest from:<br><domain type='xen'><br>  <name>OSOLHVM</name><br>  <currentMemory>1048576</currentMemory><br>  <memory>1048576</memory><br>  <uuid>f27d7d9e-3845-aa5a-fb9b-5cb16e8e639b</uuid><br>  <os><br>    <type arch='x86_64'>hvm</type><br>    <loader>/usr/lib/xen/boot/hvmloader</loader><br>    <boot dev='cdrom'/><br>  </os><br>  <features><br>    <acpi/><apic/><pae/><br>  </features><br>  <clock offset="utc"/><br>  <on_poweroff>destroy</on_poweroff><br>  <on_reboot>destroy</on_reboot><br> 
 <on_crash>destroy</on_crash><br>  <vcpu>1</vcpu><br>  <devices><br>    <emulator>/usr/lib64/xen/bin/qemu-dm</emulator><br>    <disk type='block' device='disk'><br>      <source dev='/dev/sdb6'/><br>      <target dev='hda' bus='ide'/><br>    </disk><br>    <disk type='file' device='cdrom'><br>      <source file='/home/boris/osol-0906-x86.iso'/><br>      <target dev='hdc' bus='ide'/><br>      <readonly/><br>    </disk><br>    <interface type='bridge'><br>      <source bridge='eth0'/><br>      <mac address='00:16:36:03:fd:4c'/><br>   
 </interface><br>    <input type='mouse' bus='ps2'/><br>    <graphics type='vnc' port='-1' keymap='en-us'/><br>    <console type='pty'/><br>  </devices><br></domain><br><br>Creating domain...                                                        |    0 B     00:00     <br>Thu, 20 Aug 2009 09:36:36 DEBUG    Created guest, looking to see if it is running<br>Thu, 20 Aug 2009 09:36:36 DEBUG    Launching console callback<br>Thu, 20 Aug 2009 09:36:36 DEBUG    Saving XML boot config:<br><domain
 type='xen'><br>  <name>OSOLHVM</name><br>  <currentMemory>1048576</currentMemory><br>  <memory>1048576</memory><br>  <uuid>f27d7d9e-3845-aa5a-fb9b-5cb16e8e639b</uuid><br>  <os><br>    <type arch='x86_64'>hvm</type><br>    <loader>/usr/lib/xen/boot/hvmloader</loader><br>    <boot dev='hd'/><br>  </os><br>  <features><br>    <acpi/><apic/><pae/><br>  </features><br>  <clock offset="utc"/><br>  <on_poweroff>destroy</on_poweroff><br>  <on_reboot>restart</on_reboot><br>  <on_crash>restart</on_crash><br>  <vcpu>1</vcpu><br>  <devices><br>    <emulator>/usr/lib64/xen/bin/qemu-dm</emulator><br>    <disk
 type='block' device='disk'><br>      <source dev='/dev/sdb6'/><br>      <target dev='hda' bus='ide'/><br>    </disk><br>    <disk type='block' device='cdrom'><br>      <target dev='hdc' bus='ide'/><br>      <readonly/><br>    </disk><br>    <interface type='bridge'><br>      <source bridge='eth0'/><br>      <mac address='00:16:36:03:fd:4c'/><br>    </interface><br>    <input type='mouse' bus='ps2'/><br>    <graphics type='vnc' port='-1' keymap='en-us'/><br>    <console type='pty'/><br>  </devices><br></domain><br><br>VNC console comes up and installer is running in
 meantime.<br><br>Boris.<br><br><br>--- On <b>Thu, 8/20/09, Boris Derzhavets <i><bderzhavets@yahoo.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Boris Derzhavets <bderzhavets@yahoo.com><br>Subject: [fedora-virt] Re: [Fedora-xen] Setting up libvirt to work with Xen 3.4.1 on F11<br>To: "Pasi Kärkkäinen" <pasik@iki.fi><br>Cc: fedora-virt@redhat.com, fedora-xen@redhat.com<br>Date: Thursday, August 20, 2009, 1:30 AM<br><br><div id="yiv926351174"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit; -x-system-font: none;" valign="top">Yes, Pasi .<br>I've changed Xen Host setup as follows ( new clean install):-<br><br>Download xen-3.4.1-1.fc12.src.rpm<br><br>#
 wget http://kojipkgs.fedoraproject.org/packages/xen/3.4.1/1.fc12/src/xen-3.4.1-1.fc12.src.rpm<br># rpm -iv xen-3.4.1-1.fc12.src.rpm<br># cd /root/rpmbuild/SPECS<br># rpmbuild -ba ./xen.spec<br><br>To install hypervisor and tools<br><br># cd ../RPMS/x86_64<br># yum install xen-3.4.1-1.fc11.x86_64.rpm \<br>xen-debuginfo-3.4.1-1.fc11.x86_64.rpm \<br>xen-devel-3.4.1-1.fc11.x86_64.rpm \<br>xen-doc-3.4.1-1.fc11.x86_64.rpm \<br>xen-hypervisor-3.4.1-1.fc11.x86_64.rpm \<br>xen-libs-3.4.1-1.fc11.x86_64.rpm \<br>xen-runtime-3.4.1-1.fc11.x86_64.rpm<br><br>*******************************************************************<br>Apply patch from Pasi to handle DomUs with timeout=0 in
 menu.lst<br>*******************************************************************<br><br>--- pygrub-xen341    2009-08-17 22:22:29.000000000 +0300<br>+++ pygrub    2009-08-19 18:39:17.000000000 +0300<br>@@ -447,7 +447,7 @@<br>                     # So we may come here even after a key has been pressed.<br>                     # Check both timeout and mytime to avoid exiting<br>                     # when we shouldn't.<br>-                    if timeout != -1 and mytime >= int(timeout):<br>+       
     if mytime >= int(timeout):<br>                         self.isdone = True<br>                         break<br>             else:<br><br><br>To install new libvirt-0.7.0-6<br><br>  # cat > /etc/yum.repos.d/fedora-virt-preview.repo << EOF<br>  [virt-preview]<br>  name=Virtualization Rawhide for Fedora 11<br>  baseurl=http://markmc.fedorapeople.org/virt-preview/f11/\$basearch/<br>  enabled=1<br>  gpgcheck=0<br>  EOF<br><br>Install Preview version of libvirt :-<br><br>  # yum install libvirt libvirt-python python-virtinst \<br>    virt-manager
 virt-viewer<br><br>[root@ServerXen341 ~]# rpm -qa|grep virt<br>libvirt-client-0.7.0-6.fc11.x86_64<br>libvirt-python-0.7.0-6.fc11.x86_64<br>virt-viewer-0.2.0-1.fc11.x86_64<br>virt-manager-0.7.0-5.fc11.x86_64<br>libvirt-0.7.0-6.fc11.x86_64<br>python-virtinst-0.500.0-1.fc11.noarch<br><br>It works fine with PV DomUs.  <br>Attempt to install HVM via virt-manager gives a new error :-<br><br>Unable to complete install '<class 'libvirt.libvirtError'> POST operation failed: xend_post: error from xen daemon: <Fault 3: 'VM1'><br>Traceback (most recent call last):<br>  File "/usr/share/virt-manager/virtManager/create.py", line 1501, in do_install<br>    dom = guest.start_install(False, meter = meter)<br>  File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 628, in start_install<br>    return self._do_install(consolecb, meter, removeOld, wait)<br>  File
 "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 726, in _do_install<br>    self.domain = self.conn.createLinux(install_xml, 0)<br>  File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1077, in createLinux<br>    if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)<br>libvirtError: POST operation failed: xend_post: error from xen daemon: <Fault 3: 'VM1'><br>'<br><br>Boris.<br><br>--- On <b>Wed, 8/19/09, Pasi Kärkkäinen <i><pasik@iki.fi></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Pasi Kärkkäinen <pasik@iki.fi><br>Subject: Re: [Fedora-xen] Setting up libvirt to work with Xen 3.4.1 on F11<br>To: "Boris Derzhavets" <bderzhavets@yahoo.com><br>Cc: fedora-xen@redhat.com, fedora-virt@redhat.com<br>Date: Wednesday, August 19, 2009, 4:31 PM<br><br><div class="plainMail">On Wed,
 Aug 19, 2009 at 12:04:50PM -0700, Boris Derzhavets wrote:<br>> Yes. it works with Xen-tools.<br>> <br>> <a rel="nofollow" target="_blank" href="http://bderzhavets.wordpress.com/2009/06/10/setup-fedora-11-pv-domu-at-xen-3-4-1-dom0-kernel-2-6-30-rc6-tip-on-top-of-fedora-11/">http://bderzhavets.wordpress.com/2009/06/10/setup-fedora-11-pv-domu-at-xen-3-4-1-dom0-kernel-2-6-30-rc6-tip-on-top-of-fedora-11/</a><br>> <br><br>Just to be sure: You are able to install _HVM_ guests using Xen tools?<br><br>-- Pasi<br><br><br>> Boris.<br>> <br>> --- On Wed, 8/19/09, Pasi Kärkkäinen <<a rel="nofollow">pasik@iki.fi</a>> wrote:<br>> <br>> From: Pasi Kärkkäinen <<a rel="nofollow">pasik@iki.fi</a>><br>> Subject: Re: [Fedora-xen] Setting up libvirt to work with Xen 3.4.1 on F11<br>> To: "Boris Derzhavets" <<a rel="nofollow">bderzhavets@yahoo.com</a>><br>> Cc: <a rel="nofollow">fedora-xen@redhat.com</a>, <a
 rel="nofollow">fedora-virt@redhat.com</a><br>> Date: Wednesday, August 19, 2009, 2:04 PM<br>> <br>> On Wed, Aug 19, 2009 at 10:49:49AM -0700, Boris Derzhavets wrote:<br>> > My primary concern is creating HVM guest via virt-manager at Xen 3.4.1 Dom0 on F11.<br>> > <br>> > Boris.<br>> > P.S.<br>> > Personally, i don't need libvirt at all to create PV and HVM DomUs at any Xen Dom0.<br>> > It's client's requirement.<br>> > <br>> <br>> Yeah I just wanted to know if it worked with Xen tools. That would tell<br>> us if this is purely a libvirt problem, or problem with something else.<br>>
 <br>> -- Pasi<br>> <br>> > --- On Wed, 8/19/09, Pasi Kärkkäinen <<a rel="nofollow">pasik@iki.fi</a>> wrote:<br>> > <br>> > From: Pasi Kärkkäinen <<a rel="nofollow">pasik@iki.fi</a>><br>> > Subject: Re: [Fedora-xen] Setting up libvirt to work with Xen 3.4.1 on F11<br>> > To: "Boris Derzhavets" <<a rel="nofollow">bderzhavets@yahoo.com</a>><br>> > Cc: <a rel="nofollow">fedora-xen@redhat.com</a>, <a rel="nofollow">fedora-virt@redhat.com</a><br>> > Date: Wednesday, August 19, 2009, 1:41 PM<br>> > <br>> > On Wed, Aug 19, 2009 at 08:20:28AM -0700, Boris Derzhavets wrote:<br>>
 > > xen 3.4.1-1 src.rpm downloaded from<br>> > >  <a rel="nofollow" target="_blank" href="http://kojipkgs.fedoraproject.org/packages/xen/3.4.1/1.fc12/">http://kojipkgs.fedoraproject.org/packages/xen/3.4.1/1.fc12/</a><br>> > >  rebuilt that for F11 and installed.<br>> > > <br>> > > libvirt src.rpm downloaded from<br>> > >    <a rel="nofollow" target="_blank" href="ftp://ftp.funet.fi/pub/mirrors/fedora.redhat.com/pub/fedora/linux/updates/11/SRPMS/libvirt-0.6.2-14.fc11.src.rpm">ftp://ftp.funet.fi/pub/mirrors/fedora.redhat.com/pub/fedora/linux/updates/11/SRPMS/libvirt-0.6.2-14.fc11.src.rpm</a><br>> > > and installed  : "rpm -i libvirt-0.6.2-14.fc11.src.rpm"<br>> > > <br>> > > Rebuilt libvirt packages applying patch :-<br>> > > <br>> > >  <a rel="nofollow" target="_blank"
 href="http://libvirt.org/git/?p=libvirt.git;a=blobdiff;f=src/xend_internal.c;h=55ffd3f9a5004e681c8ffb2279d27965eb42e956;hp=b211bb6293355bf68e33f56f947021bd7bb8e675;hb=14435163a086c0bcdff04308077fa46a5fa08bb0;hpb=fd90b67afe59265327dde7e447ea847687bd4e8d">http://libvirt.org/git/?p=libvirt.git;a=blobdiff;f=src/xend_internal.c;h=55ffd3f9a5004e681c8ffb2279d27965eb42e956;hp=b211bb6293355bf68e33f56f947021bd7bb8e675;hb=14435163a086c0bcdff04308077fa46a5fa08bb0;hpb=fd90b67afe59265327dde7e447ea847687bd4e8d</a><br>> > > <br>> > > Installed libvirt :-<br>> > > yum install libvirt-0.6.2-14.fc11.x86_64.rpm \<br>> > > libvirt-debuginfo-0.6.2-14.fc11.x86_64.rpm \<br>> > > libvirt-devel-0.6.2-14.fc11.x86_64.rpm \<br>> > > libvirt-python-0.6.2-14.fc11.x86_64.rpm \<br>> > > virt-manager virt-viewer<br>> > > <br>> > > <br>> > > Attempt to create any HVM via virt-manager
 aborts with message:-<br>> > >  <br>> > >  Unable to complete install '<class 'libvirt.libvirtError'> Domain not found: xenUnifiedDomainLookupByName<br>> > >  Traceback (most recent call last):<br>> > >    File "/usr/share/virt-manager/virtManager/create.py", line 1501, in do_install<br>> > >      dom = guest.start_install(False, meter = meter)<br>> > >    File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 541, in start_install<br>> > >      return self._do_install(consolecb, meter, removeOld, wait)<br>> > >    File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 633, in _do_install<br>> > >      self.domain = self.conn.createLinux(install_xml, 0)<br>> > >    File "/usr/lib64/python2.6/site-packages/libvirt.py", line 974,
 in createLinux<br>> > >      if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)<br>> > >  libvirtError: Domain not found: xenUnifiedDomainLookupByName<br>> > > <br>> > <br>> > Looks like something wrong/missing in libvirt..<br>> > <br>> > Did you try with the default Xen 3.3.1 version, that is included in F11? <br>> > Maybe something was changed in Xen 3.4 and it causes that problem.<br>> > <br>> > Also, can you create HVM guests using just the Xen tools, not virt* stuff?<br>> > <br>> > -- Pasi<br>> > <br>> > > PV DomUs for F11 and CentOS 5.3 created and tested OK.<br>> > > <br>> > > Boris.<br>> > > <br>> > > <br>> > > __________________________________________________<br>> > > Do You Yahoo!?<br>> > > Tired of spam?  Yahoo! Mail has the best
 spam protection around <br>> > > <a rel="nofollow" target="_blank" href="http://mail.yahoo.com">http://mail.yahoo.com</a> <br>> > > --<br>> > > Fedora-xen mailing list<br>> > > <a rel="nofollow">Fedora-xen@redhat.com</a><br>> > > <a rel="nofollow" target="_blank" href="https://www.redhat.com/mailman/listinfo/fedora-xen">https://www.redhat.com/mailman/listinfo/fedora-xen</a><br>> > <br>> > <br>> > <br>> > <br>> >       <br>> <br>> <br>> <br>>       <br></div></blockquote></td></tr></tbody></table><br>

      </div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">_______________________________________________<br>Fedora-virt mailing list<br><a ymailto="mailto:Fedora-virt@redhat.com" href="/mc/compose?to=Fedora-virt@redhat.com">Fedora-virt@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/fedora-virt" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-virt</a></div></blockquote></td></tr></table><br>