Re: VIO work complete Was: [XenPPC] [linux-ppc-2.6] [LINUX][XEN][POWERPC] Enable PowerPC use of netback
On Wed, Oct 11, 2006 at 08:14:41AM +1000, Tony Breeds wrote: > Which ones? I'll fix them when I get back. I haven't tested this on a full run or on x86 but it helps here. --- tools/xm-test/lib/XmTestLib/XenDomain.py |3 +++ 1 file changed, 3 insertions(+) --- diff -r a1fdeb2c6d77 tools/xm-test/lib/XmTestLib/XenDomain.py --- a/tools/xm-test/lib/XmTestLib/XenDomain.py Tue Oct 17 16:44:57 2006 -0400 +++ b/tools/xm-test/lib/XmTestLib/XenDomain.py Wed Oct 18 16:40:09 2006 +1000 @@ -97,6 +97,9 @@ class XenConfig: if name in self.opts.keys() and isinstance(self.opts[name] , list) and not isinstance(value, list): self.opts[name] = [value] +# "extra" is special so append to it. +elif name == "extra" and name in self.opts.keys(): +self.opts[name] += " %s" % (value) else: self.opts[name] = value Yours Tony linux.conf.au http://linux.conf.au/ || http://lca2007.linux.org.au/ Jan 15-20 2007 The Australian Linux Technical Conference! ___ Xen-ppc-devel mailing list Xen-ppc-devel@lists.xensource.com http://lists.xensource.com/xen-ppc-devel
Re: VIO work complete Was: [XenPPC] [linux-ppc-2.6] [LINUX][XEN][POWERPC] Enable PowerPC use of netback
On Tue, Oct 10, 2006 at 10:38:46AM -0400, Jimi Xenidis wrote: > This patch "completes" the VIO work for Net and Block. > It works for most xm-tests and all my manual checks. Excellent! > Some xm-tests fail because they lose console because they reset > "extra" and the domain no longer gets: > extra = "xencons=tty128 console=tty128" Which ones? I'll fix them when I get back. Yours Tony linux.conf.au http://linux.conf.au/ || http://lca2007.linux.org.au/ Jan 15-20 2007 The Australian Linux Technical Conference! ___ Xen-ppc-devel mailing list Xen-ppc-devel@lists.xensource.com http://lists.xensource.com/xen-ppc-devel
VIO work complete Was: [XenPPC] [linux-ppc-2.6] [LINUX][XEN][POWERPC] Enable PowerPC use of netback
barring bugs :) On Oct 10, 2006, at 10:03 AM, Xen patchbot-linux-ppc-2.6 wrote: # HG changeset patch # User Jimi Xenidis <[EMAIL PROTECTED]> # Node ID d2b37a151f5b27924e5aa59b4701ae8a7a623b25 # Parent f18ec562c11cabed94d448a12754660c63497fac [LINUX][XEN][POWERPC] Enable PowerPC use of netback This patch "completes" the VIO work for Net and Block. It works for most xm-tests and all my manual checks. Some xm-tests fail because they lose console because they reset "extra" and the domain no longer gets: extra = "xencons=tty128 console=tty128" anyway, here is my net.dom script: # -*- mode: python; -*- import time kernel = "vmlinux.strip" ramdisk = "/root/ramdisk.image.gz" memory = 64 name = "S-%s" % time.strftime("%x-%X") vif = [ '' ] # Number of Virtual CPUS to use, default is 1 #vcpus = 1 # cmdline extra = "ip=dhcp xencons=tty128 console=tty128" and my disk.dom script (/root/disk1 is the initrd from xm-test): # -*- mode: python; -*- import time kernel = "vmlinux.strip" #ramdisk = "/root/ramdisk.image.gz" memory = 64 name = "S-%s" % time.strftime("%x-%X") # Number of Virtual CPUS to use, default is 1 #vcpus = 1 #vif = [ '' ] #disk = [ 'phy:hda3,hda3,r' ] disk = [ 'file:/root/disk1,hda1,w'] # cmdline extra = "root=/dev/hda1 rw init=/bin/sh sysrq=1 debug xencons=tty128 console=tty128" ___ Xen-ppc-devel mailing list Xen-ppc-devel@lists.xensource.com http://lists.xensource.com/xen-ppc-devel