cl349@firebug.cl.cam.ac.uk
bef12f2bbd
merge?
2005-08-25 00:55:20 +00:00
cl349@firebug.cl.cam.ac.uk
acc63faffa
Break the building/save/restore code out into a separate library libxenguest.
...
Also update the tools accordingly.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com >
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-08-25 00:51:20 +00:00
cl349@firebug.cl.cam.ac.uk
60eb663513
Rename libxc => libxenctrl and xc.h => xen/xenctrl.h
...
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com >
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
--HG--
rename : tools/libxc/xc.h => tools/libxc/xenctrl.h
2005-08-24 23:07:29 +00:00
cl349@firebug.cl.cam.ac.uk
92ac24ede5
merge?
2005-08-24 22:24:10 +00:00
cl349@firebug.cl.cam.ac.uk
e66487c0fc
Switch network setup over to xenbus.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-08-24 22:22:11 +00:00
cl349@firebug.cl.cam.ac.uk
f73d8dba8f
Update error message.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-08-24 22:21:24 +00:00
cl349@firebug.cl.cam.ac.uk
d90a3a88c0
Rename grant-id to ring-ref.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-08-24 21:50:52 +00:00
cl349@firebug.cl.cam.ac.uk
9df7b4b119
Watch may fire before we've allocated the interface structure.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-08-24 20:43:16 +00:00
cl349@firebug.cl.cam.ac.uk
bd16b19bb0
Unregister watch in error path.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-08-24 20:29:42 +00:00
cl349@firebug.cl.cam.ac.uk
9acebec0b9
Avoid calling device_unregister from device_register callback.
...
Also simplify code.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-08-24 20:11:07 +00:00
cl349@firebug.cl.cam.ac.uk
f63e7cbee1
Disable debug output again.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-08-24 20:10:12 +00:00
kaf24@firebug.cl.cam.ac.uk
b870897ede
Print status of Flush Filter on AMD64 processors during
...
Xen boot. Also provide a new boot parameter:
amd_flush_filter=on : Forcibly enable the Filter
amd_flush_filter=off : Forcibly disable the Filter
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-08-24 16:15:42 +00:00
cl349@firebug.cl.cam.ac.uk
7737972d76
merge?
2005-08-24 15:49:27 +00:00
kaf24@firebug.cl.cam.ac.uk
8e7d2037c7
Always free the lowest 1MB of pseudo-physical memory when booting
...
a guest.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-08-24 15:46:33 +00:00
cl349@firebug.cl.cam.ac.uk
0193c4897d
Revert changeset a3822cb3b2b3c24e6b46c1fed3e6c366817f52ad.
...
With this changeset the error message is incorrect.
Revert: Fix the exception thrown when doing, for example,
"xm domid" on a non-existent domain.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-08-24 15:46:32 +00:00
kaf24@firebug.cl.cam.ac.uk
dbd731f86b
Fix x86/64 pagetable initialisation so that only things that
...
need to be are mapped read-only.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-08-24 15:22:44 +00:00
kaf24@firebug.cl.cam.ac.uk
fc956379c6
Add EXT3 as built-in filesystem for x86/64 domU.
2005-08-24 15:21:48 +00:00
kaf24@firebug.cl.cam.ac.uk
5097f2fbef
Copy correct number of bytes for xen_start_info in x86_64
...
head.S.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-08-24 13:17:12 +00:00
kaf24@firebug.cl.cam.ac.uk
a99c711b24
Initialise syscall32 vsyscall page early, as it may be needed
...
for some initcalls (e.g., if initrd /bin/hotplug is an i386
binary).
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-08-24 10:48:24 +00:00
cl349@firebug.cl.cam.ac.uk
1e63967258
Update comment.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-08-24 09:44:03 +00:00
cl349@firebug.cl.cam.ac.uk
a7c18c4ae8
Don't use the grant pre-allocation system for the ring grants.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-08-24 09:31:52 +00:00
cl349@firebug.cl.cam.ac.uk
73e3ad1b3d
Add some additional error nodes when block device setup fails.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-08-24 08:55:14 +00:00
cl349@firebug.cl.cam.ac.uk
deb370b40a
Fix the exception thrown when doing, for example, "xm domid" on a non-existent domain.
...
Signed-off-by: Dan Smith <danms@us.ibm.com >
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-08-24 08:28:50 +00:00
cl349@firebug.cl.cam.ac.uk
e184ac751a
Xenstore testsuite robustness: save output rather than rerun on failure.
...
"make check" reruns a test which fails with more verbosity. If the test
fails intermittently, that doesn't work well: save the output and simply
dump it if the test fails.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au >
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-08-23 19:58:59 +00:00
cl349@firebug.cl.cam.ac.uk
d37a48a45d
Fix xenstore testsuite for valgrind 3.0 and latest Debian glibc.
...
Debian upgrade revealed two problems: glibc spits out a warning on every
binary, and valgrind 3.0 gratuitously changed --logfile-fd to --log-fd,
so don't use it.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au >
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-08-23 19:57:32 +00:00
cl349@firebug.cl.cam.ac.uk
bd360a5b26
Make directories implicitly for mkdir and write.
...
Change directory code: make then move (safer than delete-if-fail).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au >
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-08-23 19:52:13 +00:00
cl349@firebug.cl.cam.ac.uk
ad2ed880fe
g/c extra test.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-08-23 19:48:28 +00:00
cl349@firebug.cl.cam.ac.uk
e8c0fa5a6d
Put the call to notifier_call_chain() back in do_xenbus_probe().
...
This fixes some dom0 activities, such as ballooning, sysrqing,
and cpu hotplugging.
Signed-off-by: Dan Smith <danms@us.ibm.com >
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-08-23 19:17:46 +00:00
cl349@firebug.cl.cam.ac.uk
772d38c920
merge?
2005-08-23 18:27:22 +00:00
cl349@firebug.cl.cam.ac.uk
ff73d41755
xenstat/xentop merge.
2005-08-23 18:25:51 +00:00
cl349@firebug.cl.cam.ac.uk
53438a75c8
merge?
2005-08-23 18:10:21 +00:00
cl349@firebug.cl.cam.ac.uk
c09b5c91c2
g/c vbd active.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-08-23 18:09:54 +00:00
kaf24@firebug.cl.cam.ac.uk
6603c470e7
Fix non-hotplug i386 build. Spotted by Rik van Riel.
2005-08-23 17:54:38 +00:00
cl349@firebug.cl.cam.ac.uk
9623f30227
Remove blkback 2.4 support since we don't support 2.4 dom0 anymore.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-08-23 17:51:57 +00:00
cl349@firebug.cl.cam.ac.uk
ae28fe8a0e
merge?
2005-08-23 17:33:11 +00:00
cl349@firebug.cl.cam.ac.uk
2a0a856896
Minor cleanup.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-08-23 17:32:44 +00:00
kaf24@firebug.cl.cam.ac.uk
1fe5d2eeb9
Build topology.c into x86/64 xenlinux kernel. This omission
...
spotted by Ryan Harper at IBM.
2005-08-23 17:30:34 +00:00
kaf24@firebug.cl.cam.ac.uk
4abc4afefd
Ensure cur_pgd per-cpu variables are initialised early.
...
Secondary VCPUs can take page faults immediately after
booting, because of writable pagetable logic.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-08-23 17:29:46 +00:00
kaf24@firebug.cl.cam.ac.uk
a128983d92
Don't mask off arbitrary error-code bits in i386 xenlinux
...
page fault handler.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-08-23 17:28:53 +00:00
kaf24@firebug.cl.cam.ac.uk
9c3817b418
Improve show_page_walk() debugging in Xen, to print
...
arbitrary page walks (not just walks of Xen mappings).
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-08-23 17:28:10 +00:00
cl349@firebug.cl.cam.ac.uk
75480722f6
More cleanups and fix free_blkif from wrong context bug (thanks Keir!).
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-08-23 16:37:59 +00:00
cl349@firebug.cl.cam.ac.uk
878f019d53
Drop support for multiple vbds per blkif.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-08-23 15:43:04 +00:00
cl349@firebug.cl.cam.ac.uk
a1d9c833f9
Move major/minor macros into public header, rename and use.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-08-23 15:26:54 +00:00
kaf24@firebug.cl.cam.ac.uk
bbc5a204a1
Link xentop with ncurses. Distros generally do not ship
...
with basic curses.
2005-08-23 13:53:04 +00:00
kaf24@firebug.cl.cam.ac.uk
19c86497c6
Update ignores list.
2005-08-23 13:36:09 +00:00
kaf24@firebug.cl.cam.ac.uk
af3ec97615
Merge x86_64 and i386 ioremap.c.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-08-23 13:30:40 +00:00
cl349@firebug.cl.cam.ac.uk
b009f4adc8
Update netfront for grant table interface changes.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-08-23 13:18:45 +00:00
kaf24@firebug.cl.cam.ac.uk
956a840d5d
Fix PAE and x86/64 when NX/XD is unavailable.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-08-23 13:13:39 +00:00
cl349@firebug.cl.cam.ac.uk
54a17fbc83
Cleanup grant table code.
...
- keep count of free references
- let callbacks specify the number of references they need at least
- get rid of terminal reference
- simplify and more correct locking for callbacks
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-08-23 13:11:31 +00:00
kaf24@firebug.cl.cam.ac.uk
88977254c3
phys_to_machine_mapping array is not an array of longs.
...
Fix start-of-day code and FOREIGN_FRAME() macro in light
of this. Also fix pfn_to_mfn() to mask off the foreign-frame
marker bit. The few places where we rely on that bit we read
out of the array directly, rather than using the pfn_to_mfn()
accessor macro.
This fixes, among other things, booting domU on PAE with swiotlb
disabled.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-08-23 12:30:35 +00:00