adsharma@los-vmm.sc.intel.com
4ef0b38ac3
Merge.
2005-08-25 11:18:47 -07:00
cl349@firebug.cl.cam.ac.uk
37603efb6e
merge?
2005-08-25 17:27:49 +00:00
cl349@firebug.cl.cam.ac.uk
989249c96f
Add hotplug script to run vif-bridge up script when a backend vif starts up.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-08-25 17:27:31 +00:00
kaf24@firebug.cl.cam.ac.uk
5f2853adb1
Fix MPT mapping for x86/64. Also i386 no longer needs
...
4MB mapping for PAE, as xenlinux can handle faults when
accessing unmapped sections of the table.
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-08-25 17:15:41 +00:00
cl349@firebug.cl.cam.ac.uk
47a972991f
merge?
2005-08-25 16:27:04 +00:00
cl349@firebug.cl.cam.ac.uk
1e57dfe310
merge?
2005-08-25 16:26:30 +00:00
kaf24@firebug.cl.cam.ac.uk
b7b544e749
Memory management fixes. Page tables are created, buddy allocator now
...
has ability to free memory (as well as allocate it).
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk >
2005-08-25 16:25:26 +00:00
cl349@firebug.cl.cam.ac.uk
a30cf89f37
Cleanup unused code.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-08-25 16:24:51 +00:00
kaf24@firebug.cl.cam.ac.uk
0c01ed4935
This patch fixes Bugzilla #169 . (It should fix #187 too -- Keir).
...
The root cause of bug 169 is, machine_to_phys_mapping, starting from
0xffff800000000000, is mapped using 2M pages. When the system has RAM
no more than 2G, only one 2M page is allocated and only one PDE entry is
created correspondingly, so calling mfn_to_pfn with mfn > 0x80000 will
overflow this 2M page and cause a unable handled kernel paging request.
The mfn > 0x80000 comes from PCI device I/O memory, here from AGP
display card when booting X server. Jun suggested to use something like
get_user() when accessing machine_to_phys_mapping.
Signed-off-by: Xin Li <xin.b.li@intel.com >
2005-08-25 16:21:19 +00:00
kaf24@firebug.cl.cam.ac.uk
d04c0fd02e
The mpt entry is 4 bytes even on x86_64, so we use 4 when
...
calculating mpt size.
Signed-off-by: Xin Li <xin.b.li@intel.com >
2005-08-25 15:53:03 +00:00
kaf24@firebug.cl.cam.ac.uk
2a17786484
1. Remove workaround patch
...
2. Update scripts/vif-bridge to not call 'brctl delif'
When a domU is shutdown/destroyed and the netif is destroyed, the
notify_call_chain triggered from unregister_netdevice() will trigger the
bridge event handler and which will call the proper code to remove the
device from the bridge.
I can't see any reason why brtcl delif should be called when taking out
a domain if the call chain will delete the interface from the bridge
when the vif is destroyed automatically.
Signed-off-by: Ryan Harper <ryanh@us.ibm.com >
2005-08-25 15:51:30 +00:00
cl349@firebug.cl.cam.ac.uk
dc8d894939
Remove broken patch preventing net device unregister.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-08-25 15:46:23 +00:00
cl349@firebug.cl.cam.ac.uk
51a81da82a
Cleanup vif entries in store when domain goes away.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-08-25 15:45:39 +00:00
cl349@firebug.cl.cam.ac.uk
73429619b1
Fix device destruction.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-08-25 15:45:19 +00:00
kaf24@firebug.cl.cam.ac.uk
2c9dd62c64
Store correct rx ring handle in netback driver.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-08-25 14:58:20 +00:00
cl349@firebug.cl.cam.ac.uk
7910cdc377
merge?
2005-08-25 14:41:52 +00:00
cl349@firebug.cl.cam.ac.uk
cf462776ab
g/c Linux 2.4 netback support.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-08-25 14:41:06 +00:00
cl349@firebug.cl.cam.ac.uk
04712d59a2
More cleanups and g/c of unused code.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-08-25 14:40:15 +00:00
kaf24@firebug.cl.cam.ac.uk
6e08df4d05
Fix grant-ref allocation in netfront.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-08-25 14:30:06 +00:00
cl349@firebug.cl.cam.ac.uk
4d317000ec
merge?
2005-08-25 14:16:38 +00:00
cl349@firebug.cl.cam.ac.uk
2ef324a62b
g/c unused code.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-08-25 14:16:23 +00:00
kaf24@firebug.cl.cam.ac.uk
8f6adc2cc8
Fix SMP booting: x86/64 startup initialisation fixes and so on.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-08-25 13:27:10 +00:00
kaf24@firebug.cl.cam.ac.uk
ef591e9331
Fix install of xenctrl.h.
2005-08-25 13:26:37 +00:00
cl349@firebug.cl.cam.ac.uk
44aec1c696
merge?
2005-08-25 10:09:39 +00:00
cl349@firebug.cl.cam.ac.uk
47428adff6
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-25 09:55:12 +00:00
cl349@firebug.cl.cam.ac.uk
6fd73f2638
merge?
2005-08-25 09:50:30 +00:00
cl349@firebug.cl.cam.ac.uk
42684425da
Updated to reflect new tools added here.
...
Signed-off-by: Judy Fischbach <jfisch@us.ibm.com >
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2005-08-25 09:50:20 +00:00
kaf24@firebug.cl.cam.ac.uk
88c6dc77be
Ensure explicit asm statememt goes in the correct section.
2005-08-25 08:39:50 +00:00
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
adsharma@los-vmm.sc.intel.com
9710812c6e
Don't put vide in .setup.init section
...
Also, it's safer to test for the case where param > __setup_end due to
some mysterious misalignment.
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com >
Signed-off-by: Arun Sharma <arun.sharma@intel.com >
2005-08-24 16:16:52 -07: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
adsharma@los-vmm.sc.intel.com
23c5fd855d
Merge.
2005-08-24 13:29:21 -07: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