cl
885c0b6fc9
``build.sh -m xen-i386 release'' now builds a release for NetBSD/xen
...
for i386. The resulting release consists of:
- NetBSD/xen for i386 kernel, loader and docuemntation
- NetBSD/i386 userland sets
2004-05-12 16:56:41 +00:00
cl
ba728d7531
Avoid overrun problems with the indexes of the slots in the
...
communication rings.
2004-05-10 01:39:39 +00:00
cl
5359887820
Reboot machine when hypervisor signals "die" event.
2004-05-07 23:05:30 +00:00
cl
977bfc3501
Add support for domain0 operations:
...
- access to all physical memory
- access to hypervisor traps from userland
- setup/config Xen's network routing/firewall rules
2004-05-07 15:51:04 +00:00
cl
d877f23fb5
add support for hot-add/-remove of block devices
2004-05-07 14:15:11 +00:00
cl
8e658015da
replace rdr6/ldr6 with the corresponding hypervisor traps
2004-05-07 14:01:33 +00:00
cl
e03778cac9
cleanup debugging code
2004-05-07 13:56:48 +00:00
cl
175b0c3bf7
check for AST on return from event handler to userland
2004-05-07 13:52:37 +00:00
cl
f61d1b4cce
fix lazy fpu state saving
2004-05-07 13:48:32 +00:00
cl
2745d2d566
add missing break
2004-05-02 20:38:35 +00:00
cl
79d1a31951
Move struct xen_netinfo into include/xen.h so that xen12load compiles again.
2004-04-26 23:54:42 +00:00
cl
f720882cf0
Rework the physical<->machine memory mapping: offset physical addresses
...
by 0x100000 (above the I/O Memory "hole") leaving all physical addresses
below unused, don't perform phys<->mach mapping for addresses below 0x100000
or beyond the real hardware's physical memory.
-> /dev/mem works now as expected and X works in domain0.
2004-04-26 22:05:04 +00:00
cl
f184e73cf0
Add mouse support.
2004-04-26 19:44:54 +00:00
cl
b21e228a58
Add support for i386_iopl.
2004-04-25 23:46:07 +00:00
cl
63ccbaf08a
Move some of the context switching code into a C function.
2004-04-25 19:01:27 +00:00
cl
b336bf8532
Add memory barriers.
2004-04-25 18:30:55 +00:00
cl
1408a99dbe
Select first disk device as boot device if no boot device is selected
...
from the command line.
2004-04-25 14:40:02 +00:00
cl
a9154d4a78
Don't attach vga and keyboard if the domain is not privileged.
...
Also cleanup print command if attachment fails.
2004-04-25 00:24:08 +00:00
cl
8d5b657eb1
Add sysctl nodes for Xen disk cookies used by domain creation tools.
2004-04-24 21:55:37 +00:00
cl
f53151522e
Enable keyboard and vga display as console when running as domain-0.
2004-04-24 21:45:58 +00:00
cl
5c7586f0e5
Add keyboard support and wscons config options.
2004-04-24 21:33:32 +00:00
cl
428e3dcc56
remove trailing empty lines
2004-04-24 21:01:37 +00:00
cl
44e8720ec9
Add vga display support.
2004-04-24 20:58:59 +00:00
cl
8e6ccbacfb
Allow the block device driver to impersonate wd/sd/cd devices. This allows
...
for most system seamless migration from a NetBSD/i386 setup to a NetBSD/xen
setup without changing /etc/fstab or creating additional device nodes.
2004-04-24 20:05:49 +00:00
cl
122ad5af2a
Make bus_space map machine addresses instead of physical addresses.
2004-04-24 19:43:53 +00:00
cl
6d328d297e
Let event_set_handler set the void * argument to event handlers.
2004-04-24 19:32:37 +00:00
cl
fb658556ac
Make bus_space map machine addresses instead of physical addresses.
2004-04-24 19:18:01 +00:00
cl
4c5f9e53a1
Make kernel command line parsing support additional keywords without
...
having to change existing code which calls the parser.
2004-04-24 18:55:02 +00:00
cl
fb65e916fb
Consistently use xencons for eveything reffering to Xen's virtual console.
...
rename arch/xen/xen/console.c -> arch/xen/xen/xencons.c
2004-04-24 18:24:14 +00:00
cl
d843f649c6
Add ``hypervisor at mainbus'' and attach all devices provided by the
...
hypervisor to it instead of mainbus.
2004-04-24 17:45:38 +00:00
cl
ef3c59b551
add __KERNEL_RCSID
2004-04-24 17:41:49 +00:00
cl
edf6d721c7
Add ``hypervisor at mainbus'' and attach all devices provided by the
...
hypervisor to it instead of mainbus.
rename arch/xen/i386/hypervisor.c -> arch/xen/i386/hypervisor_machdep.c
2004-04-24 17:35:27 +00:00
cl
2b115ed1d8
Catch up with recent src/sys/dev/dksubr.c change (1.11 -> 1.12) which
...
prevents us from processing multiple bufs during 1 *start call. We now
rely on dk_start calling us repeatedly as long as there are bufs on the
queue.
2004-04-24 16:47:29 +00:00
cl
a01e0b0219
parse bootdev parameter for partition and set booted_partition accordingly
2004-04-21 18:06:51 +00:00
cl
ff6c26a333
- setup vfr rules when running as domain-0
...
- patch ethernet address if running as domain-0 so that arp can work
also include bpfilter.h to get NBPFILTER
2004-04-21 17:36:59 +00:00
cl
3ba9d3ae38
don't crash when changing/adding ip addresses
2004-04-21 12:43:43 +00:00
cl
b5acdb9f14
cleanup debugging printf's
2004-04-21 12:14:45 +00:00
cl
c705011fd6
Loader which allows booting NetBSD as domain0 guest OS.
2004-04-17 23:20:37 +00:00
cl
17292d12b3
use nanoseconds since boot counter for delay routine
2004-04-17 21:49:55 +00:00
cl
9a39f88e1e
add block device driver
2004-04-17 12:56:26 +00:00
cl
e688fd0596
sync with arch/i386/i386/pmap.c:
...
1.172/yamt
- keep cr3 register and its copy in TSS synchronized.
- defer LDTR loading as well as cr3.
2004-04-17 12:53:27 +00:00
cl
1cfcb16460
- microtime support
...
- don't report cpu speed in startrtclock()
2004-04-17 12:50:45 +00:00
cl
e22637e9aa
report cpu speed correctly
2004-04-17 12:47:38 +00:00
cl
8bde79bdaa
- fix event dispatching for event 0
...
- use struct trapframe instead of struct pt_regs
2004-04-17 12:46:42 +00:00
cl
9f3568420d
call HYPERVISOR_exit on reboot
2004-04-11 00:44:15 +00:00
cl
d145eca4fb
catch up with arch/x86/x86/intr.c
...
1.15/kochi
use designated initializer for struct pic initializers.
just for readability.
update the xenev_pic initializer as well
2004-04-11 00:18:29 +00:00
cl
2bdade5a16
- remove pmap_kenter_ma prototype here
...
- xennet? is an interface not a driver (boot message)
2004-04-11 00:00:43 +00:00
cl
1eec38f848
get the time from Xen
2004-04-10 23:50:23 +00:00
cl
9ce2a8f441
add prototype for pmap_kenter_ma
2004-04-10 23:47:24 +00:00
cl
96cf6c6c11
- fix signatures for HYPERVISOR_stop, HYPERVISOR_dom0_op and
...
HYPERVISOR_block_io_op
- add error checking for HYPERVISOR_mmu_update and
HYPERVISOR_update_va_mapping
- add missing memory barriers
- initialize dom0_op->interface_version
2004-04-10 23:46:26 +00:00