From: "Jan Beulich" Subject: [PATCH] tools: drop VT-i example Date: Tue, 27 Aug 2013 14:23:07 +0100 Message-ID: <521CC45B02000078000EEC23@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__PartA596E62B.2__=" Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VEJGv-0001fM-IX for xen-devel@lists.xenproject.org; Tue, 27 Aug 2013 13:25:25 +0000 List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel Cc: Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__PartA596E62B.2__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline ... as being another IA64 leftover. Signed-off-by: Jan Beulich --- a/tools/examples/Makefile +++ b/tools/examples/Makefile @@ -14,7 +14,6 @@ XEN_CONFIGS-$(CONFIG_XEND) +=3D xmexample. XEN_CONFIGS-$(CONFIG_XEND) +=3D xmexample.hvm-stubdom XEN_CONFIGS-$(CONFIG_XEND) +=3D xmexample.pv-grub XEN_CONFIGS-$(CONFIG_XEND) +=3D xmexample.nbd -XEN_CONFIGS-$(CONFIG_XEND) +=3D xmexample.vti XEN_CONFIGS-$(CONFIG_XEND) +=3D xend-pci-quirks.sxp XEN_CONFIGS-$(CONFIG_XEND) +=3D xend-pci-permissive.sxp =20 --- a/tools/examples/xmexample.vti +++ /dev/null @@ -1,180 +0,0 @@ -# -*- mode: python; -*- -#=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D -# Python configuration setup for 'xm create'. -# This script sets the parameters used when a domain is created using 'xm = create'. -# You use a separate script for each domain you want to create, or=20 -# you can set the parameters for the domain on the xm command line. -#=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D - -import os, re -arch_libdir =3D 'lib' -arch =3D os.uname()[4] - -#-------------------------------------------------------------------------= --- -# Kernel image file. -kernel =3D "guest_firmware.bin" - -# The domain build function. VTI domain uses 'hvm'. -builder=3D'hvm' - -# Initial memory allocation (in megabytes) for the new domain. -# -# WARNING: Creating a domain with insufficient memory may cause out of -# memory errors. The domain needs enough memory to boot kernel -# and modules. Allocating less than 32MBs is not recommended. -memory =3D 256 - -# A name for your domain. All domains must have different names. -name =3D "ExampleVTIDomain" - -# the number of cpus guest platform has, default=3D1 -#vcpus=3D1 - -# List of which CPUS this domain is allowed to use, default Xen picks -#cpus =3D "" # leave to Xen to pick -#cpus =3D "0" # all vcpus run on CPU0 -#cpus =3D "0-3,5,^1" # all vcpus run on cpus 0,2,3,5 -#cpus =3D ["2", "3"] # VCPU0 runs on CPU2, VCPU1 runs on CPU3 - -# Log2 of VHPT size, default=3D23 (8MB), minimum=3D15 (32KB). -# In Windows OS, smaller size shows better performance. -#vhpt =3D 23 - -# Optionally define mac and/or bridge for the network interfaces. -# Random MACs are assigned if not given. -#vif =3D [ 'type=3Dioemu, mac=3D00:16:3e:00:00:11, bridge=3Dxenbr0, = model=3Dne2k_pci' ] -# type=3Dioemu specify the NIC is an ioemu device not netfront -vif =3D [ 'type=3Dioemu, bridge=3Dxenbr0' ] - -#-------------------------------------------------------------------------= --- -# Define the disk devices you want the domain to have access to, and -# what you want them accessible as. -# Each disk entry is of the form phy:UNAME,DEV,MODE -# where UNAME is the device, DEV is the device name the domain will see, -# and MODE is r for read-only, w for read-write. - -#disk =3D [ 'phy:hda1,hda1,r' ] -disk =3D [ 'file:/var/images/xenia64.img,hda,w', ',hdc:cdrom,r' ] - -#-------------------------------------------------------------------------= --- -# Set according to whether you want the domain restarted when it exits. -# The default is 'onreboot', which restarts the domain when it shuts down -# with exit code reboot. -# Other values are 'always', and 'never'. - -#restart =3D 'onreboot' - -#=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D - -# New stuff -device_model =3D '/usr/' + arch_libdir + '/xen/bin/qemu-dm' - -#-------------------------------------------------------------------------= ---- -# boot on floppy (a), hard disk (c) or CD-ROM (d)=20 -# default: hard disk, cd-rom, floppy -#boot=3D"cda" - -#-------------------------------------------------------------------------= ---- -# write to temporary files instead of disk image files -#snapshot=3D1 - -#-------------------------------------------------------------------------= --- -# enable SDL library for graphics, default =3D 0 -sdl=3D1 - -#-------------------------------------------------------------------------= --- -# enable VNC library for graphics, default =3D 1 -vnc=3D0 - -#-------------------------------------------------------------------------= --- -# set VNC display number, default =3D domid -#vncdisplay=3D1 - -#-------------------------------------------------------------------------= --- -# try to find an unused port for the VNC server, default =3D 1 -#vncunused=3D1 - -#-------------------------------------------------------------------------= --- -# set password for domain's VNC console -# default is depents on vncpasswd in xend-config.sxp -vncpasswd=3D'' - -#-------------------------------------------------------------------------= --- -# no graphics, use serial port -#nographic=3D0 - -#-------------------------------------------------------------------------= --- -# enable stdvga, default =3D 0 (use cirrus logic device model) -stdvga=3D0 - -#-------------------------------------------------------------------------= ---- -# serial port re-direct to pty deivce, /dev/pts/n -# then xm console or minicom can connect -serial=3D'pty' - -#-------------------------------------------------------------------------= ---- -# Qemu Monitor, default is disable -# Use ctrl-alt-2 to connect -#monitor=3D1 - -#-------------------------------------------------------------------------= ---- -# enable sound card support, [sb16|es1370|all|..,..], default none -#soundhw=3D'sb16' - -#-------------------------------------------------------------------------= ---- -# set the real time clock to local time [default=3D0 i.e. set to utc] -#localtime=3D1 - -#-------------------------------------------------------------------------= ---- -# start in full screen -#full-screen=3D1 diff -r 42cab8724273 tools/libxc/xc_ia64_stubs.c - -#-------------------------------------------------------------------------= ---- -# Enable USB support (specific devices specified at runtime through the -# monitor window) -#usb=3D1 - -# Enable USB mouse support (only enable one of the following, `mouse' = for -# PS/2 protocol relative mouse, `tablet' for -# absolute mouse) -#usbdevice=3D'mouse' -#usbdevice=3D'tablet' - -#-------------------------------------------------------------------------= ---- -# Set keyboard layout, default is en-us keyboard. -#keymap=3D'ja' - -#-------------------------------------------------------------------------= ---- -# Enable optimization features for the specified OS type. (Specific to = the -# OS running in the guest domain. Other OSes may not run = correctly -# if the wrong OS type is specified.) -# -# Default is "default", which should work for all supported guest OSes. -# -# Known values: -# 'linux' - All Linux variants -# 'windows' - All Windows variants (Windows Server 2003/2008) -# -#guest_os_type=3D'default' - -#-------------------------------------------------------------------------= ---- -# Configure PVSCSI devices: -# -#vscsi=3D[ 'PDEV, VDEV' ] -# -# PDEV gives physical SCSI device to be attached to specified guest -# domain by one of the following identifier format. -# - XX:XX:XX:XX (4-tuples with decimal notation which shows -# "host:channel:target:lun") -# - /dev/sdxx or sdx -# - /dev/stxx or stx -# - /dev/sgxx or sgx -# - result of 'scsi_id -gu -s'. -# ex. # scsi_id -gu -s /block/sdb -# 36000b5d0006a0000006a0257004c0000 -# -# VDEV gives virtual SCSI device by 4-tuples (XX:XX:XX:XX) as=20 -# which the specified guest domain recognize. -# - -#vscsi =3D [ '/dev/sdx, 0:0:0:0' ] --=__PartA596E62B.2__= Content-Type: text/plain; name="tools-drop-VT-i-example.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="tools-drop-VT-i-example.patch" tools: drop VT-i example=0A=0A... as being another IA64 leftover.=0A=0ASign= ed-off-by: Jan Beulich =0A=0A--- a/tools/examples/Makefi= le=0A+++ b/tools/examples/Makefile=0A@@ -14,7 +14,6 @@ XEN_CONFIGS-$(CONFIG= _XEND) +=3D xmexample.=0A XEN_CONFIGS-$(CONFIG_XEND) +=3D xmexample.hvm-stu= bdom=0A XEN_CONFIGS-$(CONFIG_XEND) +=3D xmexample.pv-grub=0A XEN_CONFIGS-$(= CONFIG_XEND) +=3D xmexample.nbd=0A-XEN_CONFIGS-$(CONFIG_XEND) +=3D = xmexample.vti=0A XEN_CONFIGS-$(CONFIG_XEND) +=3D xend-pci-quirks.sxp=0A = XEN_CONFIGS-$(CONFIG_XEND) +=3D xend-pci-permissive.sxp=0A =0A--- = a/tools/examples/xmexample.vti=0A+++ /dev/null=0A@@ -1,180 +0,0 @@=0A-# = -*- mode: python; -*-=0A-#=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A-# Python configuration setup for 'xm = create'.=0A-# This script sets the parameters used when a domain is = created using 'xm create'.=0A-# You use a separate script for each domain = you want to create, or =0A-# you can set the parameters for the domain on = the xm command line.=0A-#=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A-=0A-import os, re=0A-arch_libdir =3D = 'lib'=0A-arch =3D os.uname()[4]=0A-=0A-#-----------------------------------= -----------------------------------------=0A-# Kernel image file.=0A-kernel= =3D "guest_firmware.bin"=0A-=0A-# The domain build function. VTI domain = uses 'hvm'.=0A-builder=3D'hvm'=0A-=0A-# Initial memory allocation (in = megabytes) for the new domain.=0A-#=0A-# WARNING: Creating a domain with = insufficient memory may cause out of=0A-# memory errors. The = domain needs enough memory to boot kernel=0A-# and modules. = Allocating less than 32MBs is not recommended.=0A-memory =3D 256=0A-=0A-# = A name for your domain. All domains must have different names.=0A-name =3D = "ExampleVTIDomain"=0A-=0A-# the number of cpus guest platform has, = default=3D1=0A-#vcpus=3D1=0A-=0A-# List of which CPUS this domain is = allowed to use, default Xen picks=0A-#cpus =3D "" # leave to Xen = to pick=0A-#cpus =3D "0" # all vcpus run on CPU0=0A-#cpus =3D = "0-3,5,^1" # all vcpus run on cpus 0,2,3,5=0A-#cpus =3D ["2", "3"] # VCPU0 = runs on CPU2, VCPU1 runs on CPU3=0A-=0A-# Log2 of VHPT size, default=3D23 = (8MB), minimum=3D15 (32KB).=0A-# In Windows OS, smaller size shows better = performance.=0A-#vhpt =3D 23=0A-=0A-# Optionally define mac and/or bridge = for the network interfaces.=0A-# Random MACs are assigned if not given.=0A-= #vif =3D [ 'type=3Dioemu, mac=3D00:16:3e:00:00:11, bridge=3Dxenbr0, = model=3Dne2k_pci' ]=0A-# type=3Dioemu specify the NIC is an ioemu device = not netfront=0A-vif =3D [ 'type=3Dioemu, bridge=3Dxenbr0' ]=0A-=0A-#-------= ---------------------------------------------------------------------=0A-# = Define the disk devices you want the domain to have access to, and=0A-# = what you want them accessible as.=0A-# Each disk entry is of the form = phy:UNAME,DEV,MODE=0A-# where UNAME is the device, DEV is the device name = the domain will see,=0A-# and MODE is r for read-only, w for read-write.=0A= -=0A-#disk =3D [ 'phy:hda1,hda1,r' ]=0A-disk =3D [ 'file:/var/images/xenia6= 4.img,hda,w', ',hdc:cdrom,r' ]=0A-=0A-#------------------------------------= ----------------------------------------=0A-# Set according to whether you = want the domain restarted when it exits.=0A-# The default is 'onreboot', = which restarts the domain when it shuts down=0A-# with exit code reboot.=0A= -# Other values are 'always', and 'never'.=0A-=0A-#restart =3D 'onreboot'= =0A-=0A-#=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=0A-=0A-# New stuff=0A-device_model =3D '/usr/' + arch_libdir = + '/xen/bin/qemu-dm'=0A-=0A-#----------------------------------------------= -------------------------------=0A-# boot on floppy (a), hard disk (c) or = CD-ROM (d) =0A-# default: hard disk, cd-rom, floppy=0A-#boot=3D"cda"=0A-=0A= -#-------------------------------------------------------------------------= ----=0A-# write to temporary files instead of disk image files=0A-#snapsho= t=3D1=0A-=0A-#-------------------------------------------------------------= ---------------=0A-# enable SDL library for graphics, default =3D = 0=0A-sdl=3D1=0A-=0A-#------------------------------------------------------= ----------------------=0A-# enable VNC library for graphics, default =3D = 1=0A-vnc=3D0=0A-=0A-#------------------------------------------------------= ----------------------=0A-# set VNC display number, default =3D domid=0A-#v= ncdisplay=3D1=0A-=0A-#-----------------------------------------------------= -----------------------=0A-# try to find an unused port for the VNC = server, default =3D 1=0A-#vncunused=3D1=0A-=0A-#---------------------------= -------------------------------------------------=0A-# set password for = domain's VNC console=0A-# default is depents on vncpasswd in xend-config.sx= p=0A-vncpasswd=3D''=0A-=0A-#-----------------------------------------------= -----------------------------=0A-# no graphics, use serial port=0A-#nograph= ic=3D0=0A-=0A-#------------------------------------------------------------= ----------------=0A-# enable stdvga, default =3D 0 (use cirrus logic = device model)=0A-stdvga=3D0=0A-=0A-#---------------------------------------= --------------------------------------=0A-# serial port re-direct to pty = deivce, /dev/pts/n=0A-# then xm console or minicom can connect=0A-serial= =3D'pty'=0A-=0A-#----------------------------------------------------------= -------------------=0A-# Qemu Monitor, default is disable=0A-# Use = ctrl-alt-2 to connect=0A-#monitor=3D1=0A-=0A-#-----------------------------= ------------------------------------------------=0A-# enable sound card = support, [sb16|es1370|all|..,..], default none=0A-#soundhw=3D'sb16'=0A-=0A-= #--------------------------------------------------------------------------= ---=0A-# set the real time clock to local time [default=3D0 i.e. set to = utc]=0A-#localtime=3D1=0A-=0A-#--------------------------------------------= ---------------------------------=0A-# start in full screen=0A-#full-scr= een=3D1 diff -r 42cab8724273 tools/libxc/xc_ia64_stubs.c=0A-=0A-#--------= ---------------------------------------------------------------------=0A-# = Enable USB support (specific devices specified at runtime through = the=0A-# monitor window)=0A-#usb=3D1=0A-=0A-# Enable USB mouse = support (only enable one of the following, `mouse' for=0A-# = PS/2 protocol relative mouse, `tablet' for=0A-# absolute = mouse)=0A-#usbdevice=3D'mouse'=0A-#usbdevice=3D'tablet'=0A-=0A-#-----------= ------------------------------------------------------------------=0A-# = Set keyboard layout, default is en-us keyboard.=0A-#keymap=3D'ja'=0A-=0A-#-= ---------------------------------------------------------------------------= -=0A-# Enable optimization features for the specified OS type. (Specific = to the=0A-# OS running in the guest domain. Other OSes may not = run correctly=0A-# if the wrong OS type is specified.)=0A-#=0A-# = Default is "default", which should work for all supported guest = OSes.=0A-#=0A-# Known values:=0A-# 'linux' - All Linux variants=0A-# = 'windows' - All Windows variants (Windows Server 2003/2008)=0A-#=0A-#gues= t_os_type=3D'default'=0A-=0A-#---------------------------------------------= --------------------------------=0A-# Configure PVSCSI devices:=0A-#=0A-#= vscsi=3D[ 'PDEV, VDEV' ]=0A-#=0A-# PDEV gives physical SCSI device to = be attached to specified guest=0A-# domain by one of the = following identifier format.=0A-# - XX:XX:XX:XX (4-tuples with = decimal notation which shows=0A-# "host:channel:ta= rget:lun")=0A-# - /dev/sdxx or sdx=0A-# - /dev/stxx or = stx=0A-# - /dev/sgxx or sgx=0A-# - result of 'scsi_id = -gu -s'.=0A-# ex. # scsi_id -gu -s /block/sdb=0A-# = 36000b5d0006a0000006a0257004c0000=0A-#=0A-# VDEV gives virtual = SCSI device by 4-tuples (XX:XX:XX:XX) as =0A-# which the = specified guest domain recognize.=0A-#=0A-=0A-#vscsi =3D [ '/dev/sdx, = 0:0:0:0' ]=0A --=__PartA596E62B.2__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --=__PartA596E62B.2__=--