diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2007-10-21 21:20:02 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2007-10-23 01:49:55 -0400 |
commit | 0ca49ca946409f87a8cd0b14d5acb6dea58de6f3 (patch) | |
tree | 5f5927f1b0bf46998f4132d3628ae4c51e5ccf5a /include/linux/lguest_launcher.h | |
parent | 0a8a69dd77ddbd4513b21363021ecde7e1025502 (diff) |
Remove old lguest bus and drivers.
This gets rid of the lguest bus, drivers and DMA mechanism, to make
way for a generic virtio mechanism.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'include/linux/lguest_launcher.h')
-rw-r--r-- | include/linux/lguest_launcher.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/include/linux/lguest_launcher.h b/include/linux/lguest_launcher.h index 736e19a510c1..b6603f3fbff8 100644 --- a/include/linux/lguest_launcher.h +++ b/include/linux/lguest_launcher.h | |||
@@ -44,32 +44,6 @@ struct lguest_dma | |||
44 | }; | 44 | }; |
45 | /*:*/ | 45 | /*:*/ |
46 | 46 | ||
47 | /*D:460 This is the layout of a block device memory page. The Launcher sets up | ||
48 | * the num_sectors initially to tell the Guest the size of the disk. The Guest | ||
49 | * puts the type, sector and length of the request in the first three fields, | ||
50 | * then DMAs to the Host. The Host processes the request, sets up the result, | ||
51 | * then DMAs back to the Guest. */ | ||
52 | struct lguest_block_page | ||
53 | { | ||
54 | /* 0 is a read, 1 is a write. */ | ||
55 | int type; | ||
56 | __u32 sector; /* Offset in device = sector * 512. */ | ||
57 | __u32 bytes; /* Length expected to be read/written in bytes */ | ||
58 | /* 0 = pending, 1 = done, 2 = done, error */ | ||
59 | int result; | ||
60 | __u32 num_sectors; /* Disk length = num_sectors * 512 */ | ||
61 | }; | ||
62 | |||
63 | /*D:520 The network device is basically a memory page where all the Guests on | ||
64 | * the network publish their MAC (ethernet) addresses: it's an array of "struct | ||
65 | * lguest_net": */ | ||
66 | struct lguest_net | ||
67 | { | ||
68 | /* Simply the mac address (with multicast bit meaning promisc). */ | ||
69 | unsigned char mac[6]; | ||
70 | }; | ||
71 | /*:*/ | ||
72 | |||
73 | /* Where the Host expects the Guest to SEND_DMA console output to. */ | 47 | /* Where the Host expects the Guest to SEND_DMA console output to. */ |
74 | #define LGUEST_CONSOLE_DMA_KEY 0 | 48 | #define LGUEST_CONSOLE_DMA_KEY 0 |
75 | 49 | ||