Commit Graph
42 Commits
Author SHA1 Message Date
kaf24@firebug.cl.cam.ac.uk b91f4d4322 bitkeeper revision 1.1625 (429d84a4tcD4ZWpKQyD4i0nn6K6LIg)
Add an explicit result field to multicall_entry_t, rather than abusing
the sixth argument field.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-01 09:49:24 +00:00
kaf24@firebug.cl.cam.ac.uk 1fbd84c81a bitkeeper revision 1.1492 (428e3bd7k7u4q5iZW-q27Jpez3WzGg)
Clean up vbd probing, and include hardware sector size in the probe
information. blkback ensures that all requests are aligned to
hardware sector size and returns error if this is not so.
In blkfront we now have a request_queue per vbd, with hardsect_size
set appropriately.
It is now once again possible to mount a CDROM in a domU.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-20 19:34:47 +00:00
vh249@arcadians.cl.cam.ac.uk abf6ed436e bitkeeper revision 1.1445.1.1 (428b442b5qLf4OYwS0e8e58W2etHIA)
missing right parenthesis

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-05-18 13:33:31 +00:00
kaf24@firebug.cl.cam.ac.uk 9aeab194c2 bitkeeper revision 1.1443 (428b3f59xxbCVcbUBrHu1R1TkWcYhg)
Cleaner GDT interface. Xen now reserves the last 2 pages of a full-size
(16 page) GDT. A guest can register a GDT with up to 7k entries. Xen
automatically makes the GDT up to max size with empty page mappings,
and turns page faults in that area to #GP(selector).
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-18 13:12:57 +00:00
kaf24@firebug.cl.cam.ac.uk bfad555857 bitkeeper revision 1.1415 (42887ada_Jmkta2rYHnpJBE2EVpy4w)
Remove generic 'fast trap' from the Xen public interfaces. Internally
within Xen, we automatically set up direct trap for int 0x80, which is
the only 'fast trap' vector that we ever supported anyway.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-16 10:50:02 +00:00
kaf24@viper.(none) 469c8f8490 bitkeeper revision 1.1236.1.204 (424fc1617oxYkuT_4FpXnRPcprW5ng)
Xen fixes and cleanups for x86/64 guests.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-03 10:11:45 +00:00
kaf24@firebug.cl.cam.ac.uk e8f64f24c7 bitkeeper revision 1.1236.1.184 (424d4a00y8MNt89B4nCZ8LKcrTcZUw)
Fix multi-VCPU TLB shootdown interface -- specify pointer to VCPU
bitmap, so it is read at time of flush and not before (which might be
too early, before all updates are flushed, leading to races). Also
add selective multi-VCPU shootdown capability to update_va_mapping()
and use this to make ptep_set_access_flags() a single hypercall.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-01 13:17:52 +00:00
kaf24@firebug.cl.cam.ac.uk 99d21671d5 bitkeeper revision 1.1236.1.164 (424aed36IaX4v3-NGAT_MnCdUsD1yQ)
Split mmu_update() hypercall into mmu_update() and mmuext_op().
All MMUEXT_* ops are now done via the latter hypercall. This allows
more arguments to be passed in a nicer way to mmuext operations.
Linux 2.4, 2.6 and control tools all use the new interface. The BSDs
will need some work, but shouldn't be too hard (and they can be moved
to writable pagetables at the same time :-) ).
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-30 18:17:26 +00:00
cl349@firebug.cl.cam.ac.uk b21b609245 bitkeeper revision 1.1236.12.15 (422e5a69zhiLV3Xbq3D-aL20QlyddA)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/netbsd/xen-unstable.bk
2005-03-09 02:07:37 +00:00
cl349@firebug.cl.cam.ac.uk 06f98ccd35 bitkeeper revision 1.1159.258.34 (422e593fP_MDJ47j5LhtS8fQOVuyAQ)
Update to NetBSD 2.0.1.
Signed-off-by: Christian Limpach <cl@NetBSD.org>
2005-03-09 02:02:39 +00:00
cl349@firebug.cl.cam.ac.uk 853a0f3cca bitkeeper revision 1.1159.258.33 (422e4c2dbtydqXSZXhO6gOuY-qlS5A)
Support Xen-ifying a complete NetBSD source tree.
Signed-off-by: Christian Limpach <cl@NetBSD.org>
2005-03-09 01:06:53 +00:00
cl349@firebug.cl.cam.ac.uk a247c266ef bitkeeper revision 1.1236.12.14 (422e47e9xlByLicbmgGE7DC-Dy4qJg)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/netbsd/xen-unstable.bk
2005-03-09 00:48:41 +00:00
cl349@firebug.cl.cam.ac.uk b375b7d603 bitkeeper revision 1.1159.258.32 (422e470bJa_VGcUAPdnpZWrD6n9uew)
Export Xen provided command line as /kern/xen/cmdline.
Signed-off-by: Christian Limpach <cl@NetBSD.org>
2005-03-09 00:44:59 +00:00
cl349@firebug.cl.cam.ac.uk 97f5afbcf5 bitkeeper revision 1.1159.258.31 (422e4564B542sr1LgKTQ3FWQwTZcZQ)
Add support for read file operation handlers.
Also fix fallback to default handlers.
Signed-off-by: Christian Limpach <cl@NetBSD.org>
2005-03-09 00:37:56 +00:00
cl349@firebug.cl.cam.ac.uk 9fd655b029 bitkeeper revision 1.1159.258.30 (422e43bag8TDBzRIwsJaOhrjeAZ-gg)
Enable vnd devices.
Signed-off-by: Christian Limpach <cl@NetBSD.org>
2005-03-09 00:30:50 +00:00
cl349@firebug.cl.cam.ac.uk 9c9ae3ef3e bitkeeper revision 1.1159.258.29 (422e4382uaLzLWWGJwNl_pq0d8dMog)
Support Xen-ifying a complete NetBSD source tree.
Signed-off-by: Christian Limpach <cl@NetBSD.org>
2005-03-09 00:29:54 +00:00
cl349@firebug.cl.cam.ac.uk 26c56cda54 bitkeeper revision 1.1159.258.28 (422e42e5yWRuW_i02udqDbLjol4GOQ)
Support compiling kernels other than the XEN one.
Signed-off-by: Christian Limpach <cl@NetBSD.org>
2005-03-09 00:27:17 +00:00
kaf24@scramble.cl.cam.ac.uk 5deb88b1a9 bitkeeper revision 1.1236.1.36 (4221cfd30UrMyu3TpXKGjVNXNVS1Bw)
Update 'xen version' in guest-OS images to 3.0.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-02-27 13:49:07 +00:00
kaf24@scramble.cl.cam.ac.uk 6a329a59de bitkeeper revision 1.1236.1.16 (421db67dL0mXatHebAtt9KpMqkCIBQ)
More FPU fixes. Extend taskswitch hypercall to allow TS bit to be
cleared as well as set.
2005-02-24 11:11:57 +00:00
kaf24@scramble.cl.cam.ac.uk f87f8a7110 bitkeeper revision 1.1159.250.1 (4208d729hvKh9E4GWJWvFDThd8OXyA)
More x86_64 fixes/cleanups. NB. update_va_mapping hypercalls now
accept a virtual address, *not* a "virtual page number".
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-08 15:13:45 +00:00
iap10@freefall.cl.cam.ac.uk 7a564e6a4c bitkeeper revision 1.1159.212.34 (41f5a289J4SAf6zaQUhGEBrQWQ14dA)
manual merge
2005-01-25 01:36:09 +00:00
iap10@labyrinth.cl.cam.ac.uk 174b817ebc bitkeeper revision 1.1159.223.19 (41f2c794WPLLpYdW32MPpAaBhBhL0A)
Description: mkbuildtree requires bash

From: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-01-22 21:37:24 +00:00
cl349@arcadians.cl.cam.ac.uk ac223cf055 bitkeeper revision 1.1159.1.486 (41c1a68cZmAJPf5BRttK5N6DNHO9wg)
Don't bind a misdirect virq handler.
2004-12-16 15:15:24 +00:00
cl349@arcadians.cl.cam.ac.uk 2b9c469bec bitkeeper revision 1.1159.187.34 (41ab39fcX9O7MQ23ZZswDbS6Tx80Sw)
Use uname -m instead of uname -i to get the build hosts architecture.
2004-11-29 15:02:20 +00:00
cl349@freefall.cl.cam.ac.uk 0ee10c9e4d bitkeeper revision 1.1159.159.1 (418a0f05lDwVyI3ppkjGpLANxqZFeQ)
Update NetBSD to 2.0 release snapshot from 20041103.
2004-11-04 11:14:13 +00:00
cl349@freefall.cl.cam.ac.uk aa0dad2547 bitkeeper revision 1.1159.153.1 (4188ec74U7gi2rpg0N_8N4PDuuf8Hg)
Cleanup NetBSD build system.
2004-11-03 14:34:28 +00:00
kaf24@freefall.cl.cam.ac.uk 149abe0ab4 bitkeeper revision 1.1159.152.3 (418897a4CxX9i8wXDd9o1ZAah8MBmQ)
Fix parallel make problems (some rules had multiple dependencies which
themselves were inter-dependent).
Fix netbsd build when 'uname -i' is unavailable -- default to i386.
2004-11-03 08:32:36 +00:00
kaf24@freefall.cl.cam.ac.uk 908871cf62 bitkeeper revision 1.1159.142.4 (4184b6d4rc3Jd2irJimPyupm4TO06A)
Rename Xen public interfaces.
 1. hypervisor-if.h is now xen.h
 2. hypervisor-ifs/ directory is now:
     <include/public/...> in Xen
     <asm/xen-public/...> in Linux
     <xen/...> in user space
2004-10-31 09:56:36 +00:00
cl349@freefall.cl.cam.ac.uk f660368917 bitkeeper revision 1.1159.1.269 (417bfb07XUL6X4zWaV5K6zpOCIkODA)
sync w/ Linux version:
1.18 04/10/15 18:04:37+01:00 sos22@douglas.cl.cam.ac.uk 20 19 128/54/501

    It turns out that Xen hypercalls actually clobber the registers used to
    pass in their arguments (some of the time, at least).  Correct the
    asm in hypervisor.h to allow for this.

1.17 04/10/07 17:30:37+01:00 kaf24@freefall.cl.cam.ac.uk 19 18 79/32/476

    Grant-table interface redone.
2004-10-24 18:57:11 +00:00
cl349@freefall.cl.cam.ac.uk 2c70324cb1 bitkeeper revision 1.1159.99.2 (41614eedRuLOjlI5-39Ib0z3OZYFgA)
g/c kthread code.
2004-10-04 13:23:57 +00:00
cl349@freefall.cl.cam.ac.uk e6521d710d bitkeeper revision 1.1159.99.1 (41614d0bCFm_w7iZTkZCC7k5oNSaqw)
Cleanup device initialization.
Add support for bidirectional virtual consoles.
2004-10-04 13:15:55 +00:00
cl349@freefall.cl.cam.ac.uk 34a484da5f bitkeeper revision 1.1159.95.2 (415d2c0fWRY8y7LErd7wAAWRsW3xgg)
Catch up with network interface changes.
2004-10-01 10:06:07 +00:00
cl349@freefall.cl.cam.ac.uk 082a3d52cc bitkeeper revision 1.1159.94.1 (4158442dkfhj0Lw3hZW1w5YYKJA01g)
Add support for block devices.
2004-09-27 16:47:41 +00:00
cl349@freefall.cl.cam.ac.uk cf52529447 bitkeeper revision 1.1159.1.187 (4157ecb6zkjpYH1Mo25OIHAgwBNV4Q)
Catch up with recent interface changes.
2004-09-27 10:34:30 +00:00
cl349@freefall.cl.cam.ac.uk ab8cc8dfe7 bitkeeper revision 1.1159.79.15 (4151a1aaxwsNrL2Uz8ag9J-2-2nVwQ)
Don't use fake clockframe for interrupt delivery.  Fixes all cpu time getting
accounted to the kernel and not to userspace programs.
2004-09-22 16:00:42 +00:00
cl349@freefall.cl.cam.ac.uk 262c170bd9 bitkeeper revision 1.1159.79.14 (41517b25DFZMFi8N_o4qPoyFK7RHNw)
Use HYPERVISOR_set_timer_op and HYPERVISOR_block instead of busy-yielding.
2004-09-22 13:16:21 +00:00
cl349@freefall.cl.cam.ac.uk ca6844e345 bitkeeper revision 1.1159.79.13 (4151745aQFYQyiyDcwHh4KsbytECJg)
Fix time.
2004-09-22 12:47:22 +00:00
cl349@freefall.cl.cam.ac.uk f3a93d856b bitkeeper revision 1.1159.79.12 (41516f7a9MigXms0I3CfpKQvDloo8Q)
Simplify use from outside the toplevel Makefile.
2004-09-22 12:26:34 +00:00
cl349@freefall.cl.cam.ac.uk f11bc5a8fc bitkeeper revision 1.1159.1.131 (413ddc610qK3tZi2_2-e23mt5avoNA)
Load (Net)BSD symbol table from ELF image if requested.
2004-09-07 16:05:53 +00:00
cl349@labyrinth.cl.cam.ac.uk 31ae3c19a8 bitkeeper revision 1.1159.72.3 (413cb565kAu26gtMpvumani1Zx6Vjw)
Add new files in NetBSD for Xen2.0.
2004-09-06 19:07:17 +00:00
cl349@labyrinth.cl.cam.ac.uk 3ebb973d50 bitkeeper revision 1.1159.72.2 (413cb4b0nYQ7KFQbxIn6g-4lsRAgbQ)
Add sparse tree for NetBSD.
2004-09-06 19:04:16 +00:00
cl349@labyrinth.cl.cam.ac.uk 2a632d88f7 bitkeeper revision 1.1159.72.1 (413cb1f9MtRHM7cQFiJRcJ1gYUPxdw)
Add NetBSD support.
2004-09-06 18:52:41 +00:00