Re: [Xen-devel] sidecar (hvm shim) creation script

2018-01-11 Thread George Dunlap
On 01/10/2018 11:08 PM, Doug Goldstein wrote: > On 1/10/18 9:39 AM, Ian Jackson wrote: >> Ian Jackson writes ("Re: sidecar (hvm shim) creation script"): >>> Here is the converter script where I just got my guest to boot with >>> the Vixen shim, as built and provided by Wei. >> >> And here is one wh

Re: [Xen-devel] sidecar (hvm shim) creation script

2018-01-10 Thread Doug Goldstein
On 1/10/18 9:39 AM, Ian Jackson wrote: > Ian Jackson writes ("Re: sidecar (hvm shim) creation script"): >> Here is the converter script where I just got my guest to boot with >> the Vixen shim, as built and provided by Wei. > > And here is one which handles the guest console correctly. Vixen > se

Re: [Xen-devel] sidecar (hvm shim) creation script

2018-01-10 Thread Anthony Liguori
On Wed, Jan 10, 2018 at 9:44 AM, Dario Faggioli wrote: > On Wed, 2018-01-10 at 15:41 +, Ian Jackson wrote: >> Ian Jackson writes ("Re: sidecar (hvm shim) creation script"): >> > And here is one which handles the guest console correctly. Vixen >> > sends the L2 guest console to the emulated se

Re: [Xen-devel] sidecar (hvm shim) creation script

2018-01-10 Thread Dario Faggioli
On Wed, 2018-01-10 at 15:41 +, Ian Jackson wrote: > Ian Jackson writes ("Re: sidecar (hvm shim) creation script"): > > And here is one which handles the guest console correctly. Vixen > > sends the L2 guest console to the emulated serial, along with the > > shim's own output. > So, I've got a

Re: [Xen-devel] sidecar (hvm shim) creation script

2018-01-10 Thread Dario Faggioli
On Wed, 2018-01-10 at 15:41 +, Ian Jackson wrote: > Ian Jackson writes ("Re: sidecar (hvm shim) creation script"): > > And here is one which handles the guest console correctly. Vixen > > sends the L2 guest console to the emulated serial, along with the > > shim's own output. So, I've got a P

Re: [Xen-devel] sidecar (hvm shim) creation script

2018-01-10 Thread Doug Goldstein
On 1/10/18 10:36 AM, George Dunlap wrote: > On 01/10/2018 04:25 PM, Ian Jackson wrote: >> Draft README. >> >> My git branch is bere >>xenbits.xen.org:/home/iwj/ext/xen.git#wip.sidecar >> >> (This contains the converter script too. The git history is not very >> useful and the files are in the

Re: [Xen-devel] sidecar (hvm shim) creation script

2018-01-10 Thread George Dunlap
On 01/10/2018 04:25 PM, Ian Jackson wrote: > Draft README. > > My git branch is bere >xenbits.xen.org:/home/iwj/ext/xen.git#wip.sidecar > > (This contains the converter script too. The git history is not very > useful and the files are in the wrong place, but I needed somewhere to > do my wo

Re: [Xen-devel] sidecar (hvm shim) creation script

2018-01-10 Thread Ian Jackson
Draft README. My git branch is bere xenbits.xen.org:/home/iwj/ext/xen.git#wip.sidecar (This contains the converter script too. The git history is not very useful and the files are in the wrong place, but I needed somewhere to do my work.) Ian. PV-in-HVM shim with "sidecar"

Re: [Xen-devel] sidecar (hvm shim) creation script

2018-01-10 Thread Ian Jackson
Ian Jackson writes ("Re: sidecar (hvm shim) creation script"): > And here is one which handles the guest console correctly. Vixen > sends the L2 guest console to the emulated serial, along with the > shim's own output. Some debugging stuff removed again. #!/usr/bin/perl -w # # usage: # pvshim-

Re: [Xen-devel] sidecar (hvm shim) creation script

2018-01-10 Thread Ian Jackson
Ian Jackson writes ("Re: sidecar (hvm shim) creation script"): > Here is the converter script where I just got my guest to boot with > the Vixen shim, as built and provided by Wei. And here is one which handles the guest console correctly. Vixen sends the L2 guest console to the emulated serial,

Re: [Xen-devel] sidecar (hvm shim) creation script

2018-01-10 Thread Ian Jackson
Here is the converter script where I just got my guest to boot with the Vixen shim, as built and provided by Wei. Ian. #!/usr/bin/perl -w # # usage: # pvshim-converter [OPTIONS] OLD-CONFIG NEW-CONFIG # # options: # --sidecars-directory DIR default is /var/lib/xen/pvshim-sidecars # --shim

Re: [Xen-devel] sidecar (hvm shim) creation script

2018-01-10 Thread Anthony Liguori
On Wed, Jan 10, 2018 at 5:07 AM, Ian Jackson wrote: > The attached script works for me. I have been testing it with a > Citrix pvshim shim series and a shim binary that Wei passed me under > the table. It makes a bootable HVM guest config for a PV guest. > > Things that I see are wrong: > > * M

Re: [Xen-devel] sidecar (hvm shim) creation script

2018-01-10 Thread Wei Liu
On Wed, Jan 10, 2018 at 01:07:33PM +, Ian Jackson wrote: > The attached script works for me. I have been testing it with a > Citrix pvshim shim series and a shim binary that Wei passed me under > the table. It makes a bootable HVM guest config for a PV guest. > > Things that I see are wrong:

[Xen-devel] sidecar (hvm shim) creation script

2018-01-10 Thread Ian Jackson
The attached script works for me. I have been testing it with a Citrix pvshim shim series and a shim binary that Wei passed me under the table. It makes a bootable HVM guest config for a PV guest. Things that I see are wrong: * My guest is trying to balloon up but due to the extra memory used