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

[Xen-devel] [PATCH] Hook USB virt code into 2.6 build

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Hook USB virt code into 2.6 build
From: Harry Butterworth <harry@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 31 Jan 2005 18:43:00 +0000
Cc: Mark Williamson <Mark.Williamson@xxxxxxxxxxxx>
Delivery-date: Mon, 31 Jan 2005 18:46:52 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
This patch creates the Makefiles and the Kconfig but doesn't fix the
compile issues.  The config options are set to n to avoid breaking the
2.6 build. Tested with make world.

-- 
Harry Butterworth <harry@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
--- Begin Message ---
To: harry@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Subject: BitKeeper patch
From: Harry <harry@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 31 Jan 2005 18:24:30 +0000
Envelope-to: harry@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
This BitKeeper patch contains the following changesets:
1.1743

# User: harry
# Host: dory.(none)
# Root: /home/harry/Xen/BK/xeno-unstable.bk

# Patch vers:   1.3
# Patch type:   REGULAR

== ChangeSet ==
smh22@xxxxxxxxxxxxxxxxxxxxxxxx|ChangeSet|20021120105923|56899|1ee6296af7e15a82
kaf24@viper.(none)|ChangeSet|20050129120419|61494
D 1.1743 05/01/31 15:50:46+00:00 harry@dory.(none) +6 -0
B smh22@xxxxxxxxxxxxxxxxxxxxxxxx|ChangeSet|20021120105923|56899|1ee6296af7e15a82
C
c This change hooks the USB back and front-end drivers into the 2.6 build
c process but, since they don't yet compile for 2.6, leaves the default
c config options set to 'n' to avoid breaking the 2.6 build.
c 
c Signed-off-by: Harry Butterworth butterwo@xxxxxxxxxx
K 26407
P ChangeSet
------------------------------------------------

0a0
> harry@dory.(none)|linux-2.6.10-xen-sparse/drivers/xen/usbfront/Makefile|20050131151114|02886|2992bfeb9ebdb683
>  
> harry@dory.(none)|linux-2.6.10-xen-sparse/drivers/xen/usbfront/Makefile|20050131151115|01701
> harry@dory.(none)|linux-2.6.10-xen-sparse/drivers/xen/usbback/Makefile|20050131151053|16888|106498445000f3bb
>  
> harry@dory.(none)|linux-2.6.10-xen-sparse/drivers/xen/usbback/Makefile|20050131151054|03641
> cl349@xxxxxxxxxxxxxxxxxxxxx|linux-2.6.7-xen-sparse/arch/xen/Kconfig|20040714164127|11422|89fcafe66c368866
>  
> harry@dory.(none)|linux-2.6.10-xen-sparse/arch/xen/Kconfig|20050131155046|16985
> cl349@xxxxxxxxxxxxxxxxxxxxx|linux-2.6.7-xen-sparse/drivers/xen/Makefile|20040714164129|35789|dae1d8c9c10d9cd6
>  
> harry@dory.(none)|linux-2.6.10-xen-sparse/drivers/xen/Makefile|20050131155046|31454
> cl349@xxxxxxxxxxxxxxxxxxxxx|linux-2.6.7-xen-sparse/arch/xen/configs/xen0_defconfig|20040714164127|27952|f56dfbb682ed1a78
>  
> harry@dory.(none)|linux-2.6.10-xen-sparse/arch/xen/configs/xen0_defconfig|20050131155046|54269
> cl349@xxxxxxxxxxxxxxxxxxxxx|linux-2.6.7-xen-sparse/arch/xen/defconfig|20040714164127|27952|e67e2ed1f1142b16
>  
> harry@dory.(none)|linux-2.6.10-xen-sparse/arch/xen/configs/xenU_defconfig|20050131155046|44077

== linux-2.6.10-xen-sparse/arch/xen/Kconfig ==
cl349@xxxxxxxxxxxxxxxxxxxxx|linux-2.6.7-xen-sparse/arch/xen/Kconfig|20040714164127|11422|89fcafe66c368866
cl349@xxxxxxxxxxxxxxxxxxxxxx|linux-2.6.10-xen-sparse/arch/xen/Kconfig|20050127180500|22331
D 1.22 05/01/31 15:50:46+00:00 harry@dory.(none) +20 -0
B smh22@xxxxxxxxxxxxxxxxxxxxxxxx|ChangeSet|20021120105923|56899|1ee6296af7e15a82
C
c Add USB back and front end drivers to the Kconfig.
c Make the defaults both 'n' until they compile.
K 16985
O -rw-rw-r--
P linux-2.6.10-xen-sparse/arch/xen/Kconfig
------------------------------------------------

I72 11
config XEN_USBDEV_BACKEND
        bool "USB-device backend driver"
        depends on XEN_PHYSDEV_ACCESS
        default n
        help
          The USB-device backend driver allows the kernel to export its USB
          ports to other guests and thereby give other guests access to
          specific USB devices according to which port they are connected to.
          Currently this doesn't build so say N here unless you want to work
          on fixing it.
\
I106 9
\
config XEN_USBDEV_FRONTEND
        bool "USB-device frontend driver"
        default n
        help
          The USB-device frontend driver allows the kernel to access USB
          devices connected to ports exported from another guest OS.
          Currently this doesn't build so say N here unless you want to work
          on fixing it.

== linux-2.6.10-xen-sparse/arch/xen/configs/xen0_defconfig ==
cl349@xxxxxxxxxxxxxxxxxxxxx|linux-2.6.7-xen-sparse/arch/xen/configs/xen0_defconfig|20040714164127|27952|f56dfbb682ed1a78
kaf24@xxxxxxxxxxxxxxxxxxxxx|linux-2.6.10-xen-sparse/arch/xen/configs/xen0_defconfig|20050123132824|49981
D 1.40 05/01/31 15:50:46+00:00 harry@dory.(none) +2 -0
B smh22@xxxxxxxxxxxxxxxxxxxxxxxx|ChangeSet|20021120105923|56899|1ee6296af7e15a82
C
c Make the defaults for the new USB config options both `n' until they
c compile.
K 54269
O -rw-rw-r--
P linux-2.6.10-xen-sparse/arch/xen/configs/xen0_defconfig
------------------------------------------------

I17 1
CONFIG_XEN_USBDEV_BACKEND=n
I21 1
CONFIG_XEN_USBDEV_FRONTEND=n

== linux-2.6.10-xen-sparse/arch/xen/configs/xenU_defconfig ==
cl349@xxxxxxxxxxxxxxxxxxxxx|linux-2.6.7-xen-sparse/arch/xen/defconfig|20040714164127|27952|e67e2ed1f1142b16
kaf24@xxxxxxxxxxxxxxxxxxxxx|linux-2.6.10-xen-sparse/arch/xen/configs/xenU_defconfig|20050123132824|38908
D 1.32 05/01/31 15:50:46+00:00 harry@dory.(none) +2 -0
B smh22@xxxxxxxxxxxxxxxxxxxxxxxx|ChangeSet|20021120105923|56899|1ee6296af7e15a82
C
c Make the defaults for the new USB config options both `n' until they
c compile.
K 44077
O -rw-rw-r--
P linux-2.6.10-xen-sparse/arch/xen/configs/xenU_defconfig
------------------------------------------------

I16 1
# CONFIG_XEN_USBDEV_BACKEND is not set
I20 1
CONFIG_XEN_USBDEV_FRONTEND=n

== linux-2.6.10-xen-sparse/drivers/xen/Makefile ==
cl349@xxxxxxxxxxxxxxxxxxxxx|linux-2.6.7-xen-sparse/drivers/xen/Makefile|20040714164129|35789|dae1d8c9c10d9cd6
cl349@xxxxxxxxxxxxxxxxxxxxxx|linux-2.6.10-xen-sparse/drivers/xen/Makefile|20041227100102|24556
D 1.14 05/01/31 15:50:46+00:00 harry@dory.(none) +2 -0
B smh22@xxxxxxxxxxxxxxxxxxxxxxxx|ChangeSet|20021120105923|56899|1ee6296af7e15a82
C
c Add the USB back and front end drivers to the Makefile.
K 31454
O -rw-rw-r--
P linux-2.6.10-xen-sparse/drivers/xen/Makefile
------------------------------------------------

I9 1
obj-$(CONFIG_XEN_USBDEV_BACKEND)        += usbback/
I11 1
obj-$(CONFIG_XEN_USBDEV_FRONTEND)       += usbfront/

== linux-2.6.10-xen-sparse/drivers/xen/usbback/Makefile ==
New file: linux-2.6.10-xen-sparse/drivers/xen/usbback/Makefile
f e 4
V 4

harry@dory.(none)|linux-2.6.10-xen-sparse/drivers/xen/usbback/Makefile|20050131151053|16888|106498445000f3bb
D 1.0 05/01/31 15:10:53+00:00 harry@dory.(none) +0 -0
B smh22@xxxxxxxxxxxxxxxxxxxxxxxx|ChangeSet|20021120105923|56899|1ee6296af7e15a82
c BitKeeper file 
/home/harry/Xen/BK/xeno-unstable.bk/linux-2.6.10-xen-sparse/drivers/xen/usbback/Makefile
K 16888
P linux-2.6.10-xen-sparse/drivers/xen/usbback/Makefile
R 106498445000f3bb
X 0x821
------------------------------------------------


harry@dory.(none)|linux-2.6.10-xen-sparse/drivers/xen/usbback/Makefile|20050131151053|16888|106498445000f3bb
D 1.1 05/01/31 15:10:53+00:00 harry@dory.(none) +2 -0
B smh22@xxxxxxxxxxxxxxxxxxxxxxxx|ChangeSet|20021120105923|56899|1ee6296af7e15a82
C
F 1
K 3641
O -rw-rw-r--
P linux-2.6.10-xen-sparse/drivers/xen/usbback/Makefile
------------------------------------------------

I0 2
\
obj-y   := usbback.o control.o interface.o

== linux-2.6.10-xen-sparse/drivers/xen/usbfront/Makefile ==
New file: linux-2.6.10-xen-sparse/drivers/xen/usbfront/Makefile
f e 4
V 4

harry@dory.(none)|linux-2.6.10-xen-sparse/drivers/xen/usbfront/Makefile|20050131151114|02886|2992bfeb9ebdb683
D 1.0 05/01/31 15:11:14+00:00 harry@dory.(none) +0 -0
B smh22@xxxxxxxxxxxxxxxxxxxxxxxx|ChangeSet|20021120105923|56899|1ee6296af7e15a82
c BitKeeper file 
/home/harry/Xen/BK/xeno-unstable.bk/linux-2.6.10-xen-sparse/drivers/xen/usbfront/Makefile
K 2886
P linux-2.6.10-xen-sparse/drivers/xen/usbfront/Makefile
R 2992bfeb9ebdb683
X 0x821
------------------------------------------------


harry@dory.(none)|linux-2.6.10-xen-sparse/drivers/xen/usbfront/Makefile|20050131151114|02886|2992bfeb9ebdb683
D 1.1 05/01/31 15:11:14+00:00 harry@dory.(none) +2 -0
B smh22@xxxxxxxxxxxxxxxxxxxxxxxx|ChangeSet|20021120105923|56899|1ee6296af7e15a82
C
F 1
K 1701
O -rw-rw-r--
P linux-2.6.10-xen-sparse/drivers/xen/usbfront/Makefile
------------------------------------------------

I0 2
\
obj-y   := usbfront.o

# Patch checksum=a554d20b

--- End Message ---
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Hook USB virt code into 2.6 build, Harry Butterworth <=