WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] any plans to sopport virtio-serial ?

On Thu, 25 Nov 2010, Vasiliy G Tolstov wrote:
> On Wed, 2010-11-24 at 19:54 +0300, Vasiliy G Tolstov wrote:
> > On Wed, 2010-11-24 at 12:55 +0000, Stefano Stabellini wrote:
> > > On Tue, 23 Nov 2010, Vasiliy G Tolstov wrote:
> > > > Stefano, is there this branch tested for live migration issues? For
> > > > example, if i compile kernel with config, that working on
> > > > stable-2.6.32.x does it work on pvhvm branch?
> > >  
> > > PV on HVM should work on stable-2.6.32.x but I received a bug
> > > report on live migration issues precisely on that kernel, so if it
> > > doesn't work for you I wouldn't be surprised.
> > > 
> > > Alternatively I suggest you keep using 2.6.36-rc6-pvhvm-v8.
> > > 
> 
> Stefano, i'm complete investigate, that last two commits, breaks domain
> creating (use 2.6.36-rc6-pvhvm-v8). If i roll back this patches, xm
> create construct domains and boot. If apply, domain after creating
> destroyed.
> 

I think I found and fixed the issue, try to clone again
2.6.37-rc4-pvhvm-pvconsole and this time the guest should boot.
However I believe that pv consoles for hvm guests won't still work
properly with xend.
If you want to try two pv consoles with both pv and hvm guests apply
the appended patch to xen-unstable and use xl to start a guest:

---

diff -r 8420b82c22c2 tools/libxl/xl_cmdimpl.c
--- a/tools/libxl/xl_cmdimpl.c  Tue Nov 30 11:34:08 2010 +0000
+++ b/tools/libxl/xl_cmdimpl.c  Tue Dec 14 17:25:34 2010 +0000
@@ -1666,6 +1666,12 @@ start:
 
         init_console_info(&console, 0, &state);
         console.domid = domid;
+        console.consback = LIBXL_CONSBACK_IOEMU;
+        libxl_device_console_add(&ctx, domid, &console);
+        libxl_device_console_destroy(&console);
+        init_console_info(&console, 1, NULL);
+        console.domid = domid;
+        console.consback = LIBXL_CONSBACK_IOEMU;
         libxl_device_console_add(&ctx, domid, &console);
         libxl_device_console_destroy(&console);
 
@@ -1686,13 +1692,17 @@ start:
 
         init_console_info(&console, 0, &state);
         console.domid = domid;
-        if (d_config.num_vfbs)
-             console.consback = LIBXL_CONSBACK_IOEMU;
+        console.consback = LIBXL_CONSBACK_IOEMU;
         libxl_device_console_add(&ctx, domid, &console);
         libxl_device_console_destroy(&console);
 
-        if (d_config.num_vfbs)
-            libxl_create_xenpv_qemu(&ctx, domid, d_config.vfbs, &dm_starting);
+        init_console_info(&console, 1, NULL);
+        console.domid = domid;
+        console.consback = LIBXL_CONSBACK_IOEMU;
+        libxl_device_console_add(&ctx, domid, &console);
+        libxl_device_console_destroy(&console);
+
+        libxl_create_xenpv_qemu(&ctx, domid, d_config.vfbs, &dm_starting);
     }
 
     if (dm_starting)

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-devel] any plans to sopport virtio-serial ?, Stefano Stabellini <=