[fedora-virt] Spice Support F16

Christian christiangrassi at gmail.com
Sat Nov 19 10:51:49 UTC 2011


I tried, I recevied the same error:


$ sudo virt-install --debug --graphics spice --video qxl --channel
spicevmc --name fed16 --disk /var/lib/libvirt/images/fed16.img
--cdrom /home/krusty/Fedora-16-i686-Live-Desktop.iso --boot cdrom --ram
1024
Sat, 19 Nov 2011 11:46:33 DEBUG    Launched with command line:
/usr/bin/virt-install --debug --graphics spice --video qxl --channel
spicevmc --name fed16 --disk /var/lib/libvirt/images/fed16.img
--cdrom /home/krusty/Fedora-16-i686-Live-Desktop.iso --boot cdrom --ram
1024
Sat, 19 Nov 2011 11:46:33 DEBUG    Requesting libvirt URI default
Sat, 19 Nov 2011 11:46:33 DEBUG    Received libvirt URI qemu:///system
Sat, 19 Nov 2011 11:46:33 DEBUG    Requesting virt method 'default', hv
type 'default'.
Sat, 19 Nov 2011 11:46:33 DEBUG    Received virt method 'hvm'
Sat, 19 Nov 2011 11:46:33 DEBUG    Hypervisor name is 'kvm'
Sat, 19 Nov 2011 11:46:34 DEBUG    DistroInstaller location is a local
file/path: /home/krusty/Fedora-16-i686-Live-Desktop.iso
Sat, 19 Nov 2011 11:46:34 DEBUG    Guest.has_install_phase: True

Starting install...
Sat, 19 Nov 2011 11:46:34 DEBUG    Generated install XML: 
<domain type='kvm'>
  <name>fed16</name>
  <uuid>c68e0c5f-b6e7-0734-991e-9bf51ad2183e</uuid>
  <memory>1048576</memory>
  <currentMemory>1048576</currentMemory>
  <vcpu>1</vcpu>
  <os>
    <type arch='i686'>hvm</type>
    <boot dev='cdrom'/>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/><apic/><pae/>
  </features>
  <clock offset="utc"/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>destroy</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <emulator>/usr/bin/qemu-kvm</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw'/>
      <source file='/var/lib/libvirt/images/fed16.img'/>
      <target dev='hda' bus='ide'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu'/>
      <source file='/home/krusty/Fedora-16-i686-Live-Desktop.iso'/>
      <target dev='hdc' bus='ide'/>
      <readonly/>
    </disk>
    <interface type='network'>
      <source network='default'/>
      <mac address='52:54:00:82:ff:07'/>
    </interface>
    <input type='mouse' bus='ps2'/>
    <graphics type='spice' port='-1' tlsPort='-1' autoport='yes'/>
    <console type='pty'/>
    <channel type='spicevmc'>
      <target type='virtio' name='com.redhat.spice.0'/>
    </channel>
    <video>
      <model type='qxl'/>
    </video>
  </devices>
</domain>

Sat, 19 Nov 2011 11:46:34 DEBUG    Generated boot XML: 
<domain type='kvm'>
  <name>fed16</name>
  <uuid>c68e0c5f-b6e7-0734-991e-9bf51ad2183e</uuid>
  <memory>1048576</memory>
  <currentMemory>1048576</currentMemory>
  <vcpu>1</vcpu>
  <os>
    <type arch='i686'>hvm</type>
    <boot dev='cdrom'/>
  </os>
  <features>
    <acpi/><apic/><pae/>
  </features>
  <clock offset="utc"/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/bin/qemu-kvm</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw'/>
      <source file='/var/lib/libvirt/images/fed16.img'/>
      <target dev='hda' bus='ide'/>
    </disk>
    <disk type='block' device='cdrom'>
      <target dev='hdc' bus='ide'/>
      <readonly/>
    </disk>
    <interface type='network'>
      <source network='default'/>
      <mac address='52:54:00:82:ff:07'/>
    </interface>
    <input type='mouse' bus='ps2'/>
    <graphics type='spice' port='-1' tlsPort='-1' autoport='yes'/>
    <console type='pty'/>
    <channel type='spicevmc'>
      <target type='virtio' name='com.redhat.spice.0'/>
    </channel>
    <video>
      <model type='qxl'/>
    </video>
  </devices>
</domain>

Sat, 19 Nov 2011 11:46:39 ERROR    Unable to read from monitor:
Connection reset by peer
Sat, 19 Nov 2011 11:46:39 DEBUG    Traceback (most recent call last):
  File "/usr/bin/virt-install", line 620, in start_install
    noboot=options.noreboot)
  File "/usr/lib/python2.7/site-packages/virtinst/Guest.py", line 1223,
in start_install
    noboot)
  File "/usr/lib/python2.7/site-packages/virtinst/Guest.py", line 1291,
in _create_guest
    dom = self.conn.createLinux(start_xml or final_xml, 0)
  File "/usr/lib/python2.7/site-packages/libvirt.py", line 2114, in
createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed',
conn=self)
libvirtError: Unable to read from monitor: Connection reset by peer
Sat, 19 Nov 2011 11:46:39 DEBUG    Domain installation does not appear
to have been successful.
If it was, you can restart your domain by running:
  virsh --connect qemu:///system start fed16
otherwise, please restart your installation.
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
  virsh --connect qemu:///system start fed16
otherwise, please restart your installation.



Thks a lot for the support

Regards

Chris




On Fri, 2011-11-18 at 22:28 -0800, Boris Derzhavets wrote:
> Could you try to run the same installation  via virt-install with
> --debug option ?
> 
> Boris.
> 
> --- On Fri, 11/18/11, Christian <christiangrassi at gmail.com> wrote:
>         
>         From: Christian <christiangrassi at gmail.com>
>         Subject: Re: [fedora-virt] Spice Support F16
>         To: "Boris Derzhavets" <bderzhavets at yahoo.com>
>         Cc: "Alon Levy" <alevy at redhat.com>, "Justin M. Forbes"
>         <jmforbes at linuxtx.org>, virt at lists.fedoraproject.org
>         Date: Friday, November 18, 2011, 5:34 PM
>         
>         I get the following error
>         
>         fed 16 i686 virt preview.
>         
>         thks for the support
>         
>         Error starting domain: Unable to read from monitor: Connection
>         reset by
>         peer
>         
>         Traceback (most recent call last):
>           File "/usr/share/virt-manager/virtManager/asyncjob.py", line
>         44, in
>         cb_wrapper
>             callback(asyncjob, *args, **kwargs)
>           File "/usr/share/virt-manager/virtManager/asyncjob.py", line
>         65, in
>         tmpcb
>             callback(*args, **kwargs)
>           File "/usr/share/virt-manager/virtManager/domain.py", line
>         1050, in
>         startup
>             self._backend.create()
>           File "/usr/lib/python2.7/site-packages/libvirt.py", line
>         511, in
>         create
>             if ret == -1: raise libvirtError ('virDomainCreate()
>         failed',
>         dom=self)
>         libvirtError: Unable to read from monitor: Connection reset by
>         peer
>         
>         
>         
>         
>         On Thu, 2011-11-17 at 11:01 -0800, Boris Derzhavets wrote:
>         > Sorry for noise.
>         > I am done with virt-preview on F16.
>         > 
>         > Boris.
>         > 
>         > --- On Thu, 11/17/11, Boris Derzhavets
>         <bderzhavets at yahoo.com> wrote:
>         >         
>         >         From: Boris Derzhavets <bderzhavets at yahoo.com>
>         >         Subject: Re: [fedora-virt] Spice Support F16
>         >         To: "Alon Levy" <alevy at redhat.com>, "Justin M.
>         Forbes"
>         >         <jmforbes at linuxtx.org>
>         >         Cc: "Christian" <christiangrassi at gmail.com>,
>         >         virt at lists.fedoraproject.org
>         >         Date: Thursday, November 17, 2011, 12:41 PM
>         >         
>         >         How to set up virt-preview on F16 ?
>         >         I cannot find anything on the Net.
>         >         Please, advise.
>         >         
>         >         Boris.
>         >         
>         >         --- On Thu, 11/17/11, Justin M. Forbes
>         <jmforbes at linuxtx.org>
>         >         wrote:
>         >                 
>         >                 From: Justin M. Forbes
>         <jmforbes at linuxtx.org>
>         >                 Subject: Re: [fedora-virt] Spice Support F16
>         >                 To: "Alon Levy" <alevy at redhat.com>
>         >                 Cc: "Christian" <christiangrassi at gmail.com>,
>         >                 virt at lists.fedoraproject.org
>         >                 Date: Thursday, November 17, 2011, 9:15 AM
>         >                 
>         >                 On Mon, 2011-11-14 at 10:09 +0200, Alon Levy
>         wrote:
>         >                 > On Sun, Nov 13, 2011 at 07:15:24PM -0600,
>         Justin M.
>         >                 Forbes wrote:
>         >                 > > On Sun, 2011-11-13 at 17:45 +0200, Avi
>         Kivity
>         >                 wrote:
>         >                 > > > On 11/13/2011 05:42 PM, Alon Levy
>         wrote:
>         >                 > > > > On Sun, Nov 13, 2011 at 05:34:56PM
>         +0200, Avi
>         >                 Kivity wrote:
>         >                 > > > > > On 11/13/2011 01:35 PM, Alon Levy
>         wrote:
>         >                 > > > > > > On Sun, Nov 13, 2011 at
>         12:18:46PM +0100,
>         >                 Christian wrote:
>         >                 > > > > > > > Hi
>         >                 > > > > > > > I'm running Fedora 16 I686 on
>         an IBM
>         >                 X60s Laptop.
>         >                 > > > > > >
>         >                 > > > > > > There is no spice-server.i686
>         (yet).
>         >                 > > > > > 
>         >                 > > > > > Why?  Is it more that just a
>         recompile?
>         >                 > > > > > 
>         >                 > > > >
>         >                 > > > > There were a few idiotic errors,
>         fixed them
>         >                 before 0.10, now it's just a
>         >                 > > > > recompile. (removing the %ifdef's in
>         the spec)
>         >                 > > > >
>         >                 > > > 
>         >                 > > > Justin, can we do that?  It's a pity
>         to deny
>         >                 i386 users the benefit of
>         >                 > > > spice.
>         >                 > > 
>         >                 > > We can and should.  Though I suppose we
>         need to do
>         >                 some extra testing
>         >                 > > before F16 can get it.  I will get it
>         into
>         >                 virt-preview this week
>         >                 > > 
>         >                 > > Justin
>         >                 > > 
>         >                 > 
>         >                 > I've already done commits for
>         >                 spice{,-protocol}{.i686,.x86-64} 0.10.0,
>         >                 > have done a spice-protocol 0.10 build and
>         waiting
>         >                 for karma to do a
>         >                 > spice build (since I need spice-protocol
>         >= 0.9.1
>         >                 for the semi-seamless
>         >                 > to build spice >= 0.9.2)
>         >                 > 
>         >                 > But the real testing would be if qxl+qemu
>         work for
>         >                 i686, I haven't
>         >                 > tested that at all. My next step (to
>         verify
>         >                 spice-server is usable in
>         >                 > i686 and there are no other bugs that
>         didn't appear
>         >                 as compilation
>         >                 > failures) is to build and try
>         >                 xorg-x11-server-Xspice.i686
>         >                 
>         >                 virt-preview has 32bit spice support now,
>         please test
>         >                 if you are running
>         >                 a 32bit host.
>         >                 
>         >                 Justin
>         >                 
>         >                 
>         >
>            _______________________________________________
>         >                 virt mailing list
>         >                 virt at lists.fedoraproject.org
>         >
>            https://admin.fedoraproject.org/mailman/listinfo/virt
>         >         
>         >         -----Inline Attachment Follows-----
>         >         
>         >         _______________________________________________
>         >         virt mailing list
>         >         virt at lists.fedoraproject.org
>         >
>            https://admin.fedoraproject.org/mailman/listinfo/virt
>         
>         
>         




More information about the virt mailing list