Diff for /wikisrc/ports/xen/howto.mdwn between versions 1.46 and 1.47

version 1.46, 2014/12/26 16:43:51 version 1.47, 2014/12/26 18:35:45
Line 519  obtain domU kernels. Line 519  obtain domU kernels.
 Config files  Config files
 ------------  ------------
   
 The following is an example domain configuration file, lightly  The following is an example domain configuration file
 sanitized from a known working on Xen 4.1 (NetBSD 5 amd64 dom0 and  "/usr/pkg/etc/xen/foo", lightly sanitized from a known working on Xen
 NetBSD 6 i386 domU):  4.1 (NetBSD 5 amd64 dom0 and NetBSD 6 i386 domU):
   
         # -*- mode: python; -*-          # -*- mode: python; -*-
   
         kernel = "/netbsd-XEN3PAE_DOMU-i386-foo.gz"          kernel = "/netbsd-XEN3PAE_DOMU-i386-foo.gz"
   
         memory = 1024          memory = 1024
   
         name = "foo"  
   
         #cpu = -1          #cpu = -1
   
         vif = [ 'mac=aa:00:00:d1:00:09,bridge=bridge0' ]          vif = [ 'mac=aa:00:00:d1:00:09,bridge=bridge0' ]
   
         disk = [ 'file:/n0/xen/foo-wd0,0x1,w',          disk = [ 'file:/n0/xen/foo-wd0,0x1,w',
                  'file:/n0/xen/foo-wd1,0x2,w' ]                   'file:/n0/xen/foo-wd1,0x2,w' ]
   
         root = "xbd0"          root = "xbd0"
   
         autorestart = True          autorestart = True
   
 The kernel has the host/domU name in it, so that on the dom0 one can  The domain will have the same name as the file.  The kernel has the
 update the various domUs independently.  The vif line causes an  host/domU name in it, so that on the dom0 one can update the various
 interface to be provided, with a specific mac address (do not reuse  domUs independently.  The vif line causes an interface to be provided,
 MAC addresses!), in bridge mode.  Two disks are provided, and they are  with a specific mac address (do not reuse MAC addresses!), in bridge
 writable.  mode.  Two disks are provided, and they are writable.
   
 TODO: explain if the root line is really necessary.  TODO: explain if the root line is really necessary.
 TODO: explain or remove autorestart.  TODO: explain or remove autorestart.
Line 697  working vif-bridge is also provided with Line 689  working vif-bridge is also provided with
   
     #!/bin/sh      #!/bin/sh
     #============================================================================      #============================================================================
     # $NetBSD: howto.mdwn,v 1.45 2014/12/26 16:17:25 gdt Exp $      # $NetBSD: howto.mdwn,v 1.46 2014/12/26 16:43:51 gdt Exp $
     #      #
     # /usr/pkg/etc/xen/vif-bridge      # /usr/pkg/etc/xen/vif-bridge
     #      #

Removed from v.1.46  
changed lines
  Added in v.1.47


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb