ia64/xen-unstable

log

age author revision description
2005-08-19 kaf24 6271:eb7486b93df5 Default unit for all Xen memory parameters is kilobytes.
2005-08-19 kaf24 6270:071412a64fb9 The patch allows x86_64 SMP Xen/XenLinux (dom0) to run on relatively big
2005-08-19 kaf24 6269:513acbeac420 This patch:
2005-08-19 kaf24 6268:1895942150a5 This patch provides a workaround for bugzilla #90 which shows up far too
2005-08-19 smh22 6267:e355ae38c83b Proleptic xend bug fix for multi-sxp messages; stricly more robust than before.
2005-08-18 cl349 6266:dfbeb7da829f Remove support for xenbus driver subtypes since with the subtype field there's no fallback.
2005-08-18 cl349 6265:5a97aa8698d9 Add support to xenbus_gather to scan for strings and return them in allocated memory.
2005-08-18 cl349 6264:a028975ecc05 Get rid of xenbus_uuid_to_domid - get the frontend id from the node.
2005-08-18 cl349 6263:b0893b876c8c Let dev_changed detect devices when a watch fires with a longer node name.
2005-08-18 cl349 6262:b2f2c08e1222 Free memory returned from xenbus_directory call.
2005-08-18 cl349 6261:8d69cb2d4a88 Don't free subtype field unconditionally.
2005-08-18 cl349 6260:2f09b40595ea Get device when we find it - fixes refcount leak and is correct.
2005-08-18 cl349 6259:dda0459e335c Create devices for the xenbus-bus's.
2005-08-18 cl349 6258:a1a998b059b1 Rename bus names from xenbus* to xen*.
2005-08-18 cl349 6257:6d8c80499148 Make probe less chatty.
2005-08-18 cl349 6256:11f556cac45b merge?
2005-08-18 cl349 6255:9471090bb8ec Update probe code for backend layout.
2005-08-18 kaf24 6254:978ce7f6a3eb Make sure to cmpxchg entire pte on emulated ptwr path.
2005-08-18 kaf24 6253:0cd6a23b8d6e Fix emulated writable pagetable updates where access is
2005-08-18 kaf24 6252:67a13c0ac87d Fix direct_remap_area_pages() to handle pagetables
2005-08-18 kaf24 6251:082a537ff4de Fix __get_user() and friends to work correctly for
2005-08-18 kaf24 6250:684d81933442 Clean up bootmem initialisation for x86/64. Question still
2005-08-18 kaf24 6249:e83fc5afec3c Fix Xen patches to Linux so that they use pfn_pte() and
2005-08-18 kaf24 6248:ff31cdc8741f Tiny formatting tweak in addition to previous changeset.
2005-08-18 kaf24 6247:ced400d25886 Clean up formatting of Xen crash messages.
2005-08-18 iap10 6246:54f652eee324 Add SK98LIN driver to default -xen0 Linux configs.
2005-08-18 iap10 6245:d0a8939ac826 Make antispoof default to 'no' in network-script as the default in xend is 'no'. Having them different only causes confusion.
2005-08-18 vh249 6244:cb5648ba5821 fail nicely when passing unknown option to xm list
2005-08-18 kaf24 6243:1a94949348ff Fix range_straddles_boundary() check to exclude regions that
2005-08-18 jrb44 6242:aa8abf007260 Enable IP_PNP support in 64bit domU (needed for xm ip= etc.)
2005-08-18 kaf24 6241:2bab84a5d122 Fix the SWIOTLB to correctly match on bus addresses.
2005-08-18 vh249 6240:a06430752462 fail domU creation if memory need couldn't be succeed after ballooning out dom0
2005-08-17 iap10 6239:02789fed726a Enable MATCH_PHYSDEV netfilter support as a module.
2005-08-17 iap10 6238:80b0fbf1c4a1 Fix e820 array stack overflow
2005-08-17 kaf24 6237:fbdbe4fc218d We found machines with >32 E820 memory map entries, where Xen fails to
2005-08-17 kaf24 6236:c63e764da785 Fix vmalloc_fault() path for x86/64 XenLinux.
2005-08-17 kaf24 6235:7bd1a40ae2bd Fix the skbuff allocator for multi-page buffers.
2005-08-17 kaf24 6234:d4f6247b2a1b Formatting cleanup.
2005-08-17 vh249 6233:7be2d754647d have a useful line reporting when IOMMU_BUG_ON trigger
2005-08-17 vh249 6232:5b5d1a4a754a fix missing swiotlb.c file in linux build after running cleanup.
2005-08-17 kaf24 6231:69f00d6ab5dc Fix module build by removing duplicate EXPORT_SYMBOL of
2005-08-17 kaf24 6230:c983f822a39b Allocate_empty_lowmem_regions available to non-priv domains
2005-08-17 iap10 6229:18f04796ea89 merge
2005-08-17 iap10 6228:451669097ffd Another tweak to the network-bridge script.
2005-08-17 cl349 6227:6b6588e66b96 merge?
2005-08-17 cl349 6226:80291913492d Restore domains with a different uuid than they had.
2005-08-17 kaf24 6225:b9b28912fc7a Python build fix.
2005-08-17 cl349 6224:8203b7d536d3 Recreate watches on domain restore.
2005-08-17 cl349 6223:27a4a073fc75 Clear "/control/shutdown" node on domain restore.
2005-08-17 kaf24 6222:698a7dc797e4 xenbus build and license fixes.
2005-08-17 cl349 6221:074aadbb0fa8 Add support for XENSTORED_TRACE to enable trace output from xenstored.
2005-08-17 cl349 6220:a4b22c7fbfa1 Fix compile warning from zero-length printf format string.
2005-08-17 cl349 6219:3b0ce44f7b7a merge?
2005-08-17 cl349 6218:7c1d66d4e51e Avoid spurious "Ignoring shutdown request" messages, fix memory leak and simplif
2005-08-16 iap10 6217:7a92f129e117 Yet another work-around in the network-bridge script
2005-08-16 kaf24 6216:3bb1857981e6 Really randomise MAC addresses for multi-VIF guests.
2005-08-16 kaf24 6215:c7689e1e0768 Add a couple of well chosen assertions to new context
2005-08-16 kaf24 6214:027812e4a63c Fix context switching race which could cause vcpu_pause()
2005-08-16 cl349 6213:26c03c17c418 Don't bail early if we detect that time goes backwards.
2005-08-16 cl349 6212:be46dad1467d cleanup whitespace.
2005-08-16 cl349 6211:24e881f81cea merge?
2005-08-16 cl349 6210:92dda07a28f8 Only introduce domain to the store when we have store channel _and_ mfn.
2005-08-16 cl349 6209:7d8ed9e538ff In direct_remap_area_pages, reset w pointer for next loop after use.
2005-08-16 kaf24 6208:d80dd1169acc Fix xtime_lock handling in timer interrupt. There's no need
2005-08-16 kaf24 6207:3d187585c141 Use a SWIOTLB to use pre-reserved bounce buffers for high memory
2005-08-16 akw27 6206:eaf498f1ffde Add grant table support to block tap.
2005-08-16 kaf24 6205:0237746ecf92 Disable xenconsoled throttling for now.
2005-08-16 kaf24 6204:2c2015c11b49 Under the right circumstances, xenconsoled will corrupt its internal
2005-08-16 iap10 6203:60d20acf8928 merge
2005-08-15 adsharma 6202:b310a1b71b54 Enable multi-word DMA mode 2 for the PIIX3 chipset
2005-08-15 adsharma 6201:75367adf6055 Distinguish ioemu handled devices and para virtualized devices
2005-08-15 adsharma 6200:a56b490fa41d Don't leave vncviewer processes running if xm create fails
2005-08-16 iap10 6199:8523b124c8f8 merge
2005-08-15 iap10 6198:ff3460690004 Tweaks to network-bridge script.
2005-08-15 ach61 6197:a3fa9406d926 PDB: watchpoints for process context
2005-08-15 iap10 6196:84962f30285b Enable magic sysrq in -xen x86_64 kernel
2005-08-15 iap10 6195:1b354b634e3f Update x86_64 Linux kernels to add SMP to -xen and -xenU plus magic sysrq to all.
2005-08-15 vh249 6194:f11a31ad22d5 Upgrade to Linux 2.6.12.5 patch
2005-08-15 iap10 6193:35f3f9424c93 merge
2005-08-15 iap10 6192:d4338cc89c2c Quieten down grant table code.
2005-08-15 akw27 6191:430ce2bade9b Trivial fixes for a couple of xenlinux compile warnings.
2005-08-15 akw27 6190:4ec947baae75 Add generic_page_range() -- generic page table operation.
2005-08-15 iap10 6189:f2e0bbec3bf9 Add a far more complete -xen config file for x86_64, based on FC3.
2005-08-15 iap10 6188:750b2a013d45 merge
2005-08-15 vh249 6187:c42c85c6f590 Small change to remove difference between Xen and mainline deactivate_mm.
2005-08-15 iap10 6186:5311d81c1e8e Add a few options to the Linux x86_64 domU config.
2005-08-15 kaf24 6185:a42bf05b188c Just a very simple patch that removes:
2005-08-15 kaf24 6184:737433c5bb2e The patch cleans up (ugly) setup.c that I wanted to fix for a long time
2005-08-15 kaf24 6183:60a8a5ca4291 The patch attached removes pda.h and asm_offset.c by deleting unused or
2005-08-15 kaf24 6182:d6e64adbff04 Fix special backptr values on x86/64 to avoid spurious
2005-08-15 kaf24 6181:bf9351732ddf Fix cpu_khz reporting in XenLinux.
2005-08-15 kaf24 6180:c31e1abf4df2 merge.
2005-08-14 smh22 6179:01a7cde73390 Enable grant tables by default for network; merge fixes to grant_table.c.
2005-08-14 smh22 6178:a3b2cd5e3f86 Enable grant tables by default for networking. Note that the restore path
2005-08-14 smh22 6177:0d454a3405fd Less verbosity from grant_tables.
2005-08-14 smh22 6176:b3d76a75ff20 Less verbose grant tables when xen is verbose.
2005-08-14 smh22 6175:879ff416adcc Build fixes for grant tables.
2005-08-14 iap10 6174:b667f34d209f Upgrade to Linux 2.6.12.4 patch
2005-08-14 smh22 6173:3076b3cc3048 Clean up correct number of grant references on netif destory.
2005-08-14 iap10 6172:22ce5159334e merge
2005-08-14 iap10 6171:972917cee2fd Make the default network-script to be '' i.e. don't run a network script. Fix Makefile to actually install network-bridge script.
2005-08-14 smh22 6170:d47c61f72572 merge
2005-08-14 smh22 6169:e59f04598620 Allow use of grant tables for netdev tx+rx rings. Code is kinda
2005-08-14 kaf24 6168:0daaf1e5ca36 Fix __pte,__pmd,__pgd for PAE.
2005-08-14 kaf24 6167:da515995a281 Reduce Xen noise on x86/64.
2005-08-14 kaf24 6166:c1bcea912992 merge.
2005-08-14 kaf24 6165:dfd2ded7b712 Some arch/x86 gnttab cleanups in Xen.
2005-08-14 iap10 6164:389aced92bc7 Now we have verbose=y in Xen by default, tidy up a few unhelpful printk's.
2005-08-14 kaf24 6163:3fe7b0b7f6c5 Avoid stack overflow in netback by statically allocating the
2005-08-14 kaf24 6162:e03ffa8839ab Currently xm list --long only displays info about the last domain. The
2005-08-14 kaf24 6161:719841477514 This patch fixes the booting problems on machines with >4GB memory, and
2005-08-14 kaf24 6160:dc27fd3392b1 merge
2005-08-14 iap10 6159:6f6ed4689795 Fix x86_64 build.
2005-08-13 iap10 6158:48da5e506589 merge...
2005-08-13 iap10 6157:de0127d6e06b New 'network-bridge' script that uses ifdown/ifup to configure the interface rather than trying to transfer addresses and routes. (Suggested by Gerd Knorr)
2005-08-13 iap10 6156:323a46d272ff merge
2005-08-13 iap10 6155:050bf85fb870 Add "set_pte_at_sync" (integrated invlpg) in Linux i386/mm/highmem.c to improve performance for domains with >900MB of memory.
2005-08-13 iap10 6154:08d19da852c7 Optimize the Linux arch xen implementation of "set_pte_at".
2005-08-13 iap10 6153:1de047fc56f5 merge
2005-08-13 iap10 6152:a8a88f85a3e6 I missed a couple of files out of the patch to wrap calls to update_va_mapping with BUG_ON(). [We really need an equivalent of 'citool' for mercurial...]
2005-08-13 iap10 6151:8864f0be80c6 merge
2005-08-13 iap10 6150:424166f4f3cf Add some profiling support for writeable pagetables.
2005-08-13 akw27 6149:cbde8271c236 Fix .hgignore to reflect change in parallax directory structure.
2005-08-13 akw27 6148:390b130b3455 Remove unnecessary union in grant table map/unmap ops.
2005-08-13 kaf24 6147:058e8087d36a If block-create didn't work, then chances are block-destroy doesn't work
2005-08-13 kaf24 6146:f056b0cc171e xm block-create doesn't work. It seems like this command hasn't even
2005-08-12 akw27 6145:100837b7abec This changest allows grant mappings to arbitrary PTEs.
2005-08-12 iap10 6144:4995d5f167c9 merge
2005-08-12 iap10 6143:ab3813d38b20 Remove the BUG() from HYPERVISOR_update_va_mapping and change all the appropriate callers to wrap in BUG_ON()
2005-08-12 kaf24 6142:ba46bd7f5cdf Build xenstore interface as shared library.
2005-08-12 kaf24 6141:7c2fdcb2c933 another merge
2005-08-12 vh249 6140:46cf22571980 forget to substitute CC back to gcc
2005-08-12 kaf24 6139:38bee85ddeb8 merge
2005-08-12 vh249 6138:1fb1877ed6d1 make needlessly global functions static and use NULL instead of 0 for pointer
2005-08-12 vh249 6137:c813cb64d82e not valid file descriptor is -1 not 0
2005-08-12 vh249 6136:b7ee6eb5000b remove pointless NULL checks before free()
2005-08-12 kaf24 6135:f6d6d17eaeb5 Fix wallclock time when the offset relative to the epoch
2005-08-12 kaf24 6134:37ee6b4b409e Rearrange code in __start_xen() to work around internal
2005-08-12 kaf24 6133:7dc610b0d1ba Fix --output-pid (broken when we fixed --pid-file).
2005-08-11 kaf24 6132:822566f5cfdd This patch fixes "xm reboot" command.
2005-08-11 kaf24 6131:194f6230b62c domU always reports an error "Ignoring shutdown request: -1" when we
2005-08-11 kaf24 6130:f507ca15ae00 Memory leak in xc_linux_save, and uninitialised var
2005-08-11 kaf24 6129:5ec5f6960507 Fix loop iterator aliasing in x86/32 memory initialisation.
2005-08-11 kaf24 6128:57b3fdca5dae Support VCPU migration for VMX guests.
2005-08-11 kaf24 6127:f972da9a2dda Fix getdomaininfo for vmx guests.
2005-08-11 kaf24 6126:01e223b2a350 Remove arch/xen/x86_64/kernel/init_task.c from sparse tree. It's
2005-08-11 kaf24 6125:edd2f9171644 A simple make ARCH=xen clean && make ARCH=xen vmlinuz will fail because
2005-08-11 kaf24 6124:be3f65e478d9 Change vpit->period and friends to count in nanoseconds.
2005-08-11 kaf24 6123:ca873c2f5ca2 Implement event filtering command line options for xentrace.
2005-08-11 kaf24 6122:3f1f7cf07369 When the guest shuts down a VM, make sure that the domain gets destroyed.
2005-08-11 kaf24 6121:ee8df88e5f7e [ We'll try to get in a proper fix into 3.0 - this is just the backup plan]
2005-08-11 kaf24 6120:5608c11ba2d8 Fix comments about the localtime option.
2005-08-11 kaf24 6119:8a1752e76854 Clean up unused junk in xemexample.vmx
2005-08-11 kaf24 6118:3255b59ab616 Need to reset device model pid on reboot
2005-08-11 kaf24 6117:2b9e3795a523 Support rebooting VMX domains
2005-08-11 kaf24 6116:fb619858dfa9 Handle VMX domains correctly across xend restarts
2005-08-11 kaf24 6115:bf98996dded2 Separate out VMCS host state initialization from the rest
2005-08-11 kaf24 6114:d1034eae9708 Improved error reporting on vmlaunch/vmresume failure.
2005-08-11 kaf24 6113:c9bbfb42ba84 Fix config file parsing for VMX domains.
2005-08-11 kaf24 6112:a5994e258f77 This patch addresses Rustys' [1]suggestions. Most visibly:
2005-08-11 kaf24 6111:2f75dac09365 Fix handling of memory holes for Xen heap and domain 0
2005-08-11 kaf24 6110:9d0120a5aa45 Clean up event-channel notification code in Xen.
2005-08-11 kaf24 6109:37ac3cf33506 Fix where "!" operator used in Bitwise operation.
2005-08-11 kaf24 6108:10b395bc465e More time fixes. Now time is set properly in domU's, and
2005-08-11 twilkie 6107:0761551e993a Added support for abbreviated xm sub commands
2005-08-11 kaf24 6106:a64ac7fafbf0 PAE page directories must be below 4GB. Based on a patch
2005-08-11 kaf24 6105:d95ea17567c6 The following patch provides x86_64 SMP support for xen linux. Many,
2005-08-11 kaf24 6104:c66cac10524a Since Xend doesn't use twisted anymore, remove the references from the
2005-08-11 kaf24 6103:464c521c6f0e Remove qemu-vgaram-bin. It's not used any more.
2005-08-11 kaf24 6102:3229cda2d6f1 The attached patch fixes the xm list command, which very
2005-08-10 cl349 6101:2caa8e1e2111 merge?
2005-08-10 cl349 6100:a5c488cd3627 merge?
2005-08-10 cl349 6099:3d470e8d41f0 Make xenconsole more friendly when invoked directly.
2005-08-10 iap10 6098:c7b1c9b5e024 Enable reiserfs in x86_64 domU kernel
2005-08-10 iap10 6097:14aa0818c1ca Install libxenstore in /usr/lib64 for 64 bit builds
2005-08-10 kaf24 6096:662c9d34b3c7 Small time fixes.
2005-08-10 kaf24 6095:49671266459c Fix wallclock initialisation in domain0.
2005-08-10 kaf24 6094:4fa90e2a3257 Fix domain0 builder for PAE.
2005-08-10 kaf24 6093:839d3ac75da3 Fix 64-bit __get_user() on 32-bit x86. Needed for PAE.
2005-08-10 kaf24 6092:5dae4ecedb0c Fix stupid typo in previous checkin (stopped time.c
2005-08-10 kaf24 6091:7c9513a80026 Fix time handling on x86/64.
2005-08-10 twilkie 6090:50e57636bdd8 Fix simple index error in error handling. Now reports correct domain name in error message.
2005-08-10 kaf24 6089:d74e320900fd merge
2005-08-10 kaf24 6088:e87001315978 dma_map_single can't sleep since it may be called with locks held, or
2005-08-10 cl349 6087:66e6479d9ab8 merge?
2005-08-10 cl349 6086:ee68821f4e9c Make xen daemon startup more robust.
2005-08-10 kaf24 6085:878ba6d3954e Add padding to allocation bitmap. Should fix page fault
2005-08-10 kaf24 6084:d77208361929 The following patch adds cramfs support to domU kernels so cramfs based
2005-08-10 cl349 6083:66b81b6c096c Initialize the xenstore MFN for VMX domains
2005-08-09 cl349 6082:5a683386dc58 merge?
2005-08-09 cl349 6081:389e76fbfdbd Do not suppress errors on writes outside transactions.
2005-08-09 kaf24 6080:38c7c25b3cb9 Directly including ../tools breaks building in separate object tree,
2005-08-09 kaf24 6079:f40c6650152e Add missing LGPL license notice to python sources
2005-08-09 kaf24 6078:95d2bbf6a273 PAE PMDs must be made writable before freeing.
2005-08-09 kaf24 6077:356b14d5ffc8 merge
2005-08-09 kaf24 6076:2379e795ca69 merge
2005-08-09 kaf24 6075:f01ba22e044c When building in separate object directory entry.o fails building
2005-08-09 twilkie 6074:12deebfb7f87 Updates to SV. New look. Removed and simplified lots of files.
2005-08-09 cl349 6073:4125b9fea242 merge?
2005-08-09 cl349 6072:3cd4f2c38aaf The following patch is a major restructuring of main.py to be more straight forward, and remove as much code as possible.
2005-08-09 kaf24 6071:a1f7e01b0990 Fixes for x86/64 writable pagetables, including SMP
2005-08-09 cl349 6070:663f0fb1e444 Restore suspend/resume calls for the control interface on suspend/resume.
2005-08-09 cl349 6069:6915b98bb384 Don't expose xenstore daemon-only permission bits through python bindings.
2005-08-08 kaf24 6068:0229efe8ffe4 Simple fix to getdomaininfo cpu_time calculation for
2005-08-08 kaf24 6067:08bc755fe796 Fix page_to_phys() macro as suggested by Gerd.
2005-08-08 kaf24 6066:dcb2b7a1c621 That one is obviously needed to make pae xen-linux work with
2005-08-08 kaf24 6065:f586b9ecd474 Fix x86/64 xenlinux build. Remove stupid patch.
2005-08-08 kaf24 6064:d4e19aca1f72 Fix signedness issue in xenlinux timer interrupt handler.
2005-08-08 kaf24 6063:2360c4d7bb2f Really fix the x86/64 build. Get rid of push/pop from
2005-08-08 kaf24 6062:7d84bc707736 Fix the x86/64 build.
2005-08-08 kaf24 6061:61af128313c8 Remove dead file.
2005-08-08 kaf24 6060:704e6cc4a684 Remove dead files.
2005-08-08 kaf24 6059:6fc0b68b0a9c Fix both Xen and XenLinux to correctly handle 64-bit
2005-08-08 kaf24 6058:a9ee400a5da9 1) More testing: include tests which I forgot in previous patch, remove
2005-08-08 kaf24 6057:b60643391488 Fix hw_resend_irq() -- IRQ_PENDING must be propagated back
2005-08-08 kaf24 6056:41ceeb6828b5 The attached patch adds -Werror to HOSTCFLAGS in Config.mk, makes
2005-08-08 kaf24 6055:c4512592a1dc Attached is a patch to x86_64 xenlinux. It also includes cleanups. We
2005-08-08 kaf24 6054:69bf77e1b102 Writable pagetables for x86/64. Xen portion.
2005-08-07 kaf24 6053:deff07c1b686 Really include renamed console files. :-)
2005-08-07 kaf24 6052:ec1878b6956e Rename console binaries to xenconsole and xenconsoled.
2005-08-07 kaf24 6051:6721c8cd1a30 this patch fixes X86_64 Xorg Xfree86 issues.
2005-08-06 kaf24 6050:d3e7327954db Fix perfc_defn.h to allow multiple inclusion.
2005-08-06 kaf24 6049:eb98d18771ca xend prints out some messages when starting, which is annoying. This
2005-08-06 kaf24 6048:217fb2d1f364 More time-interface fixes.
2005-08-06 kaf24 6047:7931f14bd447 Fix xenbus_read() usage in shutdown handler.
2005-08-06 kaf24 6046:e0146a206ea2 - include linux/vmalloc.h for vmalloc
2005-08-06 kaf24 6045:5f6787c5c71f This patch changes the vcpu-hotplug handler from using control message
2005-08-06 kaf24 6044:968829eb1783 This patch changes the probe notifier, per Rusty's suggestion. It
2005-08-06 kaf24 6043:0538ec1fe5b2 This patch changes the shutdown driver and xend to use strings instead
2005-08-05 kaf24 6042:69b7c9c3a9fd Fix mach2phys table allocation for 32-bit PAE Xen.
2005-08-05 kaf24 6041:b63577ff53a3 Fix xtime_lock handling to avoid deadlock in sched_clock().
2005-08-05 kaf24 6040:5a33233a608e No need to define errno defined at the top of reboot.c.
2005-08-05 kaf24 6039:9faafa21bf98 xenstored has had a testsuite for some time. This splits the test
2005-08-05 kaf24 6038:8727c784c07d The C interface no longer has a priority arg, but the python interface
2005-08-05 kaf24 6037:78a2f9cbd5b3 Attached is a randomized tester for consoled. It's a patch against
2005-08-05 kaf24 6036:5a86ab4c9b79 Instead of queuing messages when the control channels are full, xcs just
2005-08-05 kaf24 6035:f5a5e61f038e xc_console is probably too chatty about termios failures since ssh
2005-08-05 kaf24 6034:38e6467df0e6 The attached patch:
2005-08-04 kaf24 6033:61cbf8f977ef Attached are
2005-08-04 kaf24 6032:ebf05456ee11 Fix my previous patch to the trap-frame creation code