Commit Graph
3838 Commits
Author SHA1 Message Date
akw27@arcadians.cl.cam.ac.uk 486fb5558b bitkeeper revision 1.1209 (421346f9xbQDgRDaxkDUGy8ppyT1UQ)
fix debug race condition on tap.

signed-off-by: akw27@cl.cam.ac.uk
2005-02-16 13:13:29 +00:00
mwilli2@equilibrium.research 21660168d3 bitkeeper revision 1.1208 (4212ad8c5vLMbRL8isvvSTbC88iL5Q)
usbfront: eliminate the urb_remove_list

Signed-off-by: mark.williamson@cl.cam.ac.uk
2005-02-16 02:18:52 +00:00
mwilli2@equilibrium.research c128e07af2 bitkeeper revision 1.1207 (4212a4a3fSH5ORndkL3huFaCkLB62A)
Further USB Frontend tidying.

Signed-off-by: mark.williamson@cl.cam.ac.uk
2005-02-16 01:40:51 +00:00
mwilli2@equilibrium.research faa4084113 bitkeeper revision 1.1206 (421298acOZi7dg5p-4vCDkR8RsPqRA)
Merge ssh://maw48@freefall.cl.cam.ac.uk//auto/groups/xeno/BK/xeno.bk
into equilibrium.research:/home/irchomes/mwilli2/src/xen-3.0-devel.bk
2005-02-16 00:49:48 +00:00
mwilli2@equilibrium.research c4748c0b6a bitkeeper revision 1.1201.1.3 (421297bd6K0RFSf9_qOCU30jMEudxg)
USB Frontend cleanups.

Signed-off-by: mark.williamson@cl.cam.ac.uk
2005-02-16 00:45:49 +00:00
mwilli2@equilibrium.research eeac7ab730 bitkeeper revision 1.1201.1.2 (421110cdU4f7yPjZxp717O6Xj5SOKQ)
Merge bk://xen.bkbits.net/xeno-unstable.bk
into equilibrium.research:/home/irchomes/mwilli2/src/xen-3.0-devel.bk
2005-02-14 20:57:49 +00:00
mwilli2@equilibrium.research a423b919ec bitkeeper revision 1.1159.263.1 (42110e81vH_yoemMp8R1uc9AeO0gfw)
USB cleanups and reducing trust of the frontend for iso transfers.
2005-02-14 20:48:01 +00:00
mafetter@fleming.research a8006dae37 bitkeeper revision 1.1205 (4210a227vRYVUcnauYxPh32urj991w)
Merge maf46@ssh-relay1.cl.cam.ac.uk:/usr/groups/xeno/BK/xen-unstable.bk
into fleming.research:/scratch/fleming/mafetter/xen.work

Signed-off-by: michael.fetterman@cl.cam.ac.uk
2005-02-14 13:05:43 +00:00
iap10@freefall.cl.cam.ac.uk d1610c4d97 bitkeeper revision 1.1201.1.1 (421098bauUknclk2-oQphDo3ZBC1Vw)
Major ia64 update -- now boots dom0.

Signed-off-by: dan.magenheimer@hp.com
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-14 12:25:30 +00:00
mafetter@fleming.research 1c8b68d98f bitkeeper revision 1.1204 (421096e2bPRPzPc4dLX7thZr1TdfZA)
Fixed unnecessary rebuilds of all of Xen each time, due to
asm-offset.h

Signed-off-by: michael.fetterman@cl.cam.ac.uk
2005-02-14 12:17:38 +00:00
mafetter@fleming.research 4696c862d6 bitkeeper revision 1.1203 (421096dcaYyLUeJDWzUpv9mpMfjHfQ)
Merge cleanups.

Signed-off-by: michael.fetterman@cl.cam.ac.uk
2005-02-14 12:17:32 +00:00
mafetter@fleming.research f40526dfbc bitkeeper revision 1.1202 (421094f3xaph8Fy7S7CActoJAtqz7g)
Merge maf46@ssh-relay1.cl.cam.ac.uk:/usr/groups/xeno/BK/xen-unstable.bk
into fleming.research:/scratch/fleming/mafetter/xen.work

Signed-off-by: michael.fetterman@cl.cam.ac.uk
2005-02-14 12:09:23 +00:00
mafetter@fleming.research b80cdca4e0 bitkeeper revision 1.1196.1.1 (4210949fd4uhxJmk2kIDASV8WbY-4w)
Minor shadow mode cleanups.

Signed-off-by: michael.fetterman@cl.cam.ac.uk
2005-02-14 12:07:59 +00:00
kaf24@scramble.cl.cam.ac.uk de418e6fdf bitkeeper revision 1.1201 (42108e93jNjU6R-4pZQGJCtUzl_HkQ)
Fix SMP booting. Clean up x86/64 a bit.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-14 11:42:11 +00:00
kaf24@scramble.cl.cam.ac.uk e7db198ac7 bitkeeper revision 1.1200 (42107fffsY27L01xietRjdMzGHiDzw)
x86/64 build fixes and simpler debug tracing.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-14 10:39:59 +00:00
iap10@freefall.cl.cam.ac.uk b90262d6a4 bitkeeper revision 1.1199 (42100c75YrRV-rqA2PA8zYLZf22hrw)
Further shadow_mode cleanups in preparation for the new 
implementation of translate mode.

Signed-off-by: ian@xensource.com
2005-02-14 02:27:01 +00:00
iap10@freefall.cl.cam.ac.uk 5b3a04ca9c bitkeeper revision 1.1198 (420fce12wkkVt8DoRztlJcYxK80wIw)
minor fixes to earlier pagetable change
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-13 22:00:50 +00:00
iap10@freefall.cl.cam.ac.uk a75cb6c2f1 bitkeeper revision 1.1197 (420fb93dC1WSuJegG_k9TUwX4eFmyw)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
2005-02-13 20:31:57 +00:00
iap10@freefall.cl.cam.ac.uk 3df6564130 bitkeeper revision 1.1194.1.1 (420fb929A6i2BgwaqAFiDYqZMrpIQg)
Re-organise guest_table, shadow_table and monitor_table so that
they always have the meaning their names suggest i.e. in the 
hypervisor CR3 always contains monitor_table.

After updating guest_table or any of the shadow state remeber 
to call update_pagetables(ed)

One side-effect of this change is that VMX guests now start off with
shadow_mode set to full_32, but actually running on the 1:1 physmap.
We don't actually call update_pagetables() until the VCPU enables
paging, hence ensuring that linear_pg_table is NULL so we bail out
early in shadow_fault if a vmx guest tries to access outside its
memory map. We'll need this for SMP VMX guests so that each VCPU can
enable paging independently.  We might need to think further about
this for guests that do IO without paging on - possibly having a
generated pseudo phys pt that the full shadow mode can translate and
shadow.

Signed-off-by: ian@xensource.com
2005-02-13 20:31:37 +00:00
kaf24@viper.(none) 83e1226c78 bitkeeper revision 1.1196 (420e70da1IwWQhyIdvfGOYQgoJQsJA)
Fix SYSCALL RFLAGS mask.
Signed-off-by: keir@xensource.com
2005-02-12 21:10:50 +00:00
mafetter@fleming.research f47e362206 bitkeeper revision 1.1195 (420e5ff3SFUc-sHp8lfCe-xCoUlk-A)
Hand merge
2005-02-12 19:58:43 +00:00
mafetter@fleming.research acf041f437 bitkeeper revision 1.1159.261.5 (420e408ezTabiELFEcwTxsv6OwQdrw)
Merge fleming.research:/scratch/fleming/mafetter/xen.work/test
into fleming.research:/scratch/fleming/mafetter/xen.work
2005-02-12 17:44:46 +00:00
mafetter@fleming.research f46d2b4111 bitkeeper revision 1.1159.262.1 (420e4084ZlJS5YFJWSpfbv7WfT4uSg)
Oops -- disable serial console buffer by default.
2005-02-12 17:44:36 +00:00
mafetter@fleming.research e7a58cd8a8 bitkeeper revision 1.1159.261.4 (420e3f0ctRGZge_a33H-GsBosW224g)
Cleanup after merge
2005-02-12 17:38:20 +00:00
mafetter@fleming.research dba0c0fcbc bitkeeper revision 1.1159.261.3 (420e3c341h1fbkH3NCtXo63yPlvjGg)
Hand merge
2005-02-12 17:26:12 +00:00
mafetter@fleming.research aeda7569c7 bitkeeper revision 1.1159.261.2 (420e3014BpIA6NnJTdNQGkfIDMtzmQ)
Added an in-memory ring buffer to which serial console output
can be temporarily redirected.  Mode is toggled by the "c" key on
the Xen console.
Nice hack for printk() intensive debugging modes.
When switching back to serial output, the current contents of the
buffer are first dumped.  Buffer defaults to 128Kb, but size can
be set on the Xen boot command line.
2005-02-12 16:34:28 +00:00
mafetter@fleming.research d9cdfe6120 bitkeeper revision 1.1159.261.1 (420e14ceCymFrPEpDCTaPJueMUTvsg)
Improved check_pagetable checking.
Added check_all_pagetables as an alternative to check_pagetable().
2005-02-12 14:38:06 +00:00
mafetter@fleming.research 2a0b261ce3 bitkeeper revision 1.1159.258.4 (420e086eRqMDAepFfVSrE8gAuTZ1dg)
Merge maf46@ssh-relay1.cl.cam.ac.uk:/usr/groups/xeno/BK/xen-2.0-testing.bk
into fleming.research:/scratch/fleming/mafetter/xen-2.0-testing.bk
2005-02-12 13:45:18 +00:00
mafetter@fleming.research 5017009989 bitkeeper revision 1.1159.260.2 (420e0856crqXXEkQoCUddas8u5ksXA)
Rename check_pagetable() function to _check_pagetable to make it easier
to selectively enable it during debugging.  There's still the same
check_pagetable macro, but now it's used both when SHADOW_DEBUG is
enabled and disabled.
2005-02-12 13:44:54 +00:00
mafetter@fleming.research b5a0388318 bitkeeper revision 1.1159.260.1 (420e07e16YlSevQI9RYNGLwarPr2gQ)
Bug fix for shadow code.

When update_va_mapping() updates a entry, the corresponding shadow
entry may not be reachable via the shadow_linear_pg_table, even though
it is currently shadowed, as the corresponding spde has not necessarily
been faulted into place yet.
2005-02-12 13:42:57 +00:00
iap10@freefall.cl.cam.ac.uk cb698d8df4 bitkeeper revision 1.1194 (420d73efCMSMj1PHhfobxL2cia_WnQ)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
2005-02-12 03:11:43 +00:00
iap10@freefall.cl.cam.ac.uk a9064a4eca bitkeeper revision 1.1192.1.1 (420d73e1O792fPGDMcGMeH_RVU_ZZQ)
Rename arch.pagetable to arch.guest_table
2005-02-12 03:11:29 +00:00
iap10@freefall.cl.cam.ac.uk c84d7a87ad bitkeeper revision 1.1193 (420d72d0IYG07QeED-l3FKZf5M7o1g)
fix build
Signed-off-by: ian@xensource.com
2005-02-12 03:06:56 +00:00
iap10@freefall.cl.cam.ac.uk 17746278ec bitkeeper revision 1.1192 (420d6169vOspV7vgQjqPRLjU4Xa-OQ)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
2005-02-12 01:52:41 +00:00
iap10@freefall.cl.cam.ac.uk 7e508cad2e bitkeeper revision 1.1191 (420d5e29aNqroO-Dr8i5N9OF0PGu4A)
Subject: [PATCH] xentrace-vmx.patch

- Add VMX specific events to xentrace.
- Rename d -> ed
- cleanup dead code

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
2005-02-12 01:38:49 +00:00
cl349@arcadians.cl.cam.ac.uk ae88008ad5 bitkeeper revision 1.1187.1.1 (420d5c8bry1FsMS2rnyIFoRMthBd2w)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno/BK/xen-unstable.bk
into arcadians.cl.cam.ac.uk:/auto/groups/xeno/users/cl349/BK/xen-unstable.bk
2005-02-12 01:31:55 +00:00
cl349@arcadians.cl.cam.ac.uk 4145473e7a bitkeeper revision 1.1184.1.1 (420d5c705_VA4WaJuRZQusYMhaQugg)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into arcadians.cl.cam.ac.uk:/auto/groups/xeno/users/cl349/BK/xen-unstable.bk
2005-02-12 01:31:28 +00:00
cl349@arcadians.cl.cam.ac.uk b9692e52eb bitkeeper revision 1.1159.258.3 (420d5c2dj-e3ZU_Q3wOxYdZ-yax62A)
Use "ide" as device name and "hdX" as disk name.

Signed-off-by: chris@xensource.com
2005-02-12 01:30:21 +00:00
iap10@freefall.cl.cam.ac.uk 499021187c bitkeeper revision 1.1190 (420d565aLSpnsj5do0f0daHT7JHvkA)
Subject: [PATCH] vmx-shadow-lock.patch

Fix an assertion failure due to not holding the shadow_lock()
Also remove a printk that makes debug=y too verbose.
Fix an assertion that required PERF_COUNTER
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
2005-02-12 01:05:30 +00:00
iap10@freefall.cl.cam.ac.uk ec12127c4e bitkeeper revision 1.1189 (420d52d34bmxozCOzbUs5pmo2zfT-w)
Subject: [PATCH] xenctx.patch

Does this sound interesting? I found it useful to debug looping guests.
A gdb stub would be nicer - but this one is lighter weight.
        -Arun
Tool for dumping the cpu context
# xenctx 1 0
eip: c01dfeab   esp: c1603c98
eax: 00000020   ebx: c0432e10   ecx: 00000ee6   edx: 000001f7
esi: c0432d60   edi: 00000296   ebp: c0432d60
 cs: 00000060    ds: 00000068    fs: 00000000    gs: 00000033

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
2005-02-12 00:50:27 +00:00
iap10@freefall.cl.cam.ac.uk a9170d6352 bitkeeper revision 1.1188 (420d5244F1WAs2mvIW8E0-0RB5AlRw)
Subject: [PATCH] dm-destroy.patch

Clicking on the power off button calls xm destroy as well.

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
2005-02-12 00:48:04 +00:00
iap10@freefall.cl.cam.ac.uk 61007a4ade bitkeeper revision 1.1187 (420d5134SJno8yarcAiRNJqFJ5adEA)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
2005-02-12 00:43:32 +00:00
iap10@freefall.cl.cam.ac.uk e8a790c9aa bitkeeper revision 1.1159.259.1 (420d50b3Mu97o7HHZsGGVPlv3ORCOw)
Some VT-x software perf counters.
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-12 00:41:23 +00:00
kaf24@scramble.cl.cam.ac.uk 7daf7af3de bitkeeper revision 1.1186 (420cff94zgt9FYAF2LFRO_Xztduveg)
Ensure coherency of guest-PDE 'accessed' bits when using shadow page
tables. There is no issue with 'dirty' bits because only PTEs and
super-page PDEs (which we do not support) have 'dirty' bits.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-11 18:55:16 +00:00
kaf24@scramble.cl.cam.ac.uk 054206d161 bitkeeper revision 1.1185 (420cf3c8-bMMcsnH1kMVRwy5AQ-ecg)
Various mini-os and Xen fixes. The M2P table is now definitely
accessible (read-only) from guest context.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-11 18:04:56 +00:00
cl349@arcadians.cl.cam.ac.uk 28268ccd6d bitkeeper revision 1.1184 (420ce06eLX3IXXYgfWOdCOQZS6HoDg)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno/BK/xen-unstable.bk
into arcadians.cl.cam.ac.uk:/auto/groups/xeno/users/cl349/BK/xen-unstable.bk
2005-02-11 16:42:22 +00:00
cl349@arcadians.cl.cam.ac.uk 135fd9112e bitkeeper revision 1.1177.2.1 (420cdfe0gnE29cMitOCxShEE2d_lRA)
Sync w/ 2.0-testing changes.

Signed-off-by: cl349@cl.cam.ac.uk
2005-02-11 16:40:00 +00:00
cl349@arcadians.cl.cam.ac.uk a20f62e8f8 bitkeeper revision 1.1159.258.2 (420cdd26biP1GgUIcVSoyZGOZjAu2A)
Pass pointer to register set to set_pre_exception_table instead of eip.

Signed-off-by: cl349@cl.cam.ac.uk
2005-02-11 16:28:22 +00:00
sos22@douglas.cl.cam.ac.uk 31afc7d3c9 bitkeeper revision 1.1183 (420cc313TZKdpM4_m9WvFiEqZsQ13w)
Merge douglas.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into douglas.cl.cam.ac.uk:/local/scratch/sos22/xendbng/xen-unstable.bk
2005-02-11 14:37:07 +00:00
sos22@douglas.cl.cam.ac.uk b2f01d396c bitkeeper revision 1.1182 (420cadcbrUDFMXqavPE9gJ-8GmmyoQ)
Make it compile in the non-crashdb case.

Signed-off-by: sos22@cl.cam.ac.uk.
2005-02-11 13:06:19 +00:00