aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc
Commit message (Collapse)AuthorAgeFilesLines
...
* | bitkeeper revision 1.1415 (42887ada_Jmkta2rYHnpJBE2EVpy4w)kaf24@firebug.cl.cam.ac.uk2005-05-164-19/+6
| | | | | | | | | | | | | | | | Remove generic 'fast trap' from the Xen public interfaces. Internally within Xen, we automatically set up direct trap for int 0x80, which is the only 'fast trap' vector that we ever supported anyway. Signed-off-by: Keir Fraser <keir@xensource.com>
* | bitkeeper revision 1.1411 (42884f321efBfAPblIV0mrlYL-DYpA)kmacy@netapp.com[kaf24]2005-05-161-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [PATCH] [PATCH] SMP coredump fix # This is a BitKeeper generated diff -Nru style patch. # # ChangeSet # 2005/05/15 18:03:44-07:00 kmacy@octopus.eng.netapp.com # Fix SMP coredumps # Signed-off-by: Kip Macy <kmacy@netapp.com> # # BitKeeper/etc/logging_ok # 2005/05/15 18:03:43-07:00 kmacy@octopus.eng.netapp.com +1 -0 # Logging to logging@openlogging.org accepted # # tools/libxc/xc_core.c # 2005/05/15 18:03:21-07:00 kmacy@octopus.eng.netapp.com +11 -7 # handle discontiguous CPUs correctly # make offsets in core header correct for MP case #
* | bitkeeper revision 1.1389.1.60 (4284eff8xPCiJXQdVwPYSYL7MEB5zA)smh22@firebug.cl.cam.ac.uk2005-05-132-5/+5
| | | | | | | | | | | | | | fix calls to xc_domain_getinfo() Signed-off-by: Steven Hand <steven@xensource.com>
* | bitkeeper revision 1.1389.1.49 (4283701cNLgzy29rE9Sw2-Jbp4DdZA)kaf24@firebug.cl.cam.ac.uk2005-05-127-20/+20
| | | | | | | | | | | | Remove 'exec_domain' from Xen public interfaces. Replace with 'vcpu'. Signed-off-by: Keir Fraser <keir@xensource.com>
* | bitkeeper revision 1.1389.19.6 (4283326fLInxsBy4d19FLaiMPEMO4w)kaf24@firebug.cl.cam.ac.uk2005-05-121-7/+16
| | | | | | | | | | | | Some more mmap() error-return fixes. Signed-off-by: Keir Fraser <keir@xensource.com>
* | bitkeeper revision 1.1389.19.5 (42833116hOft6cekTRSGqSIk2tNzGA)rusty@rustcorp.com.au[kaf24]2005-05-122-24/+24
| | | | | | | | | | | | | | | | | | | | | | [PATCH] [PATCH] libxc: mmap doesn't return NULL on error... Hi, was reading libxc code, and noticed this. Patch is bigger than strictly necessary due to indent adjust. Against latest bk. Rusty.
* | bitkeeper revision 1.1389.15.15 (428242f7nXN4g9eyz6qI4P8iLGAGTg)cl349@firebug.cl.cam.ac.uk2005-05-113-3/+3
|\ \ | | | | | | | | | | | | | | | Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
| * | bitkeeper revision 1.1389.17.3 (42823d4825o1wYghBqsaekhllO6ocQ)kaf24@firebug.cl.cam.ac.uk2005-05-113-3/+3
| | | | | | | | | | | | | | | | | | | | | Domain builders need only set bit 9 of EFLAGS (Interrupt Enable). Setting this bit is enforced by Xen. Signed-off-by: Keir Fraser <keir@xensource.com>
* | | bitkeeper revision 1.1389.15.14 (428242a6WycHvjFblUGQbKtJd94NPg)cl349@firebug.cl.cam.ac.uk2005-05-114-48/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Many files: Merge interface changes from previous 'Split out context fetching into separate DOM0 op' and 'xen,tools: pincpu use vcpu and cpumap_t' checkins. xc_linux_save.c: Undo incorrect change from previous patch. xc.h, xc_domain.c: Cleanup whitespace. Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* | | bitkeeper revision 1.1389.15.13 (42821f23dLMLc5Ql8Y-rUwoatYBI6g)cl349@firebug.cl.cam.ac.uk[cl349]2005-05-1110-69/+89
|/ / | | | | | | | | | | | | | | | | Split out context fetching into separate DOM0 op make GETDOMAININFO a little more sensible with respect to MP make coredump dump all cpu contexts Signed-off-by: Kip Macy <kmacy@netapp.com> Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* | bitkeeper revision 1.1389.15.11 (428212beixWz2Ftz7Wj0NeY03LmBnA)cl349@firebug.cl.cam.ac.uk[cl349]2005-05-112-6/+6
| | | | | | | | | | | | | | sched.h, dom0_ops.h, dom0_ops.c, xc_domain.c, xc.h: Minor cleanups. Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* | bitkeeper revision 1.1389.15.10 (428202c9Vz9xfNsG-q-WtZpPrER7xQ)cl349@firebug.cl.cam.ac.uk[cl349]2005-05-112-5/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [PATCH] xen,tools: pincpu use vcpu and cpumap_t The following patch updates the dom0 pincpu operation to read the VCPU value from the xend interface rather than hard-coding the exec_domain to 0. This prevented pinning VCPUS other than 0 to a particular cpu. The pincpu cpu argument is replaced with cpumap, a u64 bitmap representing which CPUs a VCPU can use. I added the number of VCPUS to the main xm list output and also included a new sub-option to xm list to display the VCPU to CPU mapping. While working on the pincpu code, I fixed an out-of-bounds indexing for the pincpu operation that wasn't previously exposed since the vcpu/exec_domain value was hard-coded to 0. Signed-off-by: Ryan Harper <ryanh@us.ibm.com> Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* | bitkeeper revision 1.1389.5.37 (427f9fd5lvofpMsmBQ2h16fsuXQH6Q)kaf24@firebug.cl.cam.ac.uk2005-05-093-0/+60
|\ \ | | | | | | | | | | | | Manual merge.
| * \ bitkeeper revision 1.1346.1.1 (42670505dNhgnJm5dQD81pCalXMZgw)iap10@freefall.cl.cam.ac.uk2005-04-213-0/+60
| |\ \ | | | | | | | | | | | | | | | | manual merge
| | * | bitkeeper revision 1.1159.170.111 (4266fe71ppAIWyNXyP9cTS2-29x3_A)iap10@freefall.cl.cam.ac.uk2005-04-213-6/+5
| | |\| | | | | | | | | | | | | | | | | | | | | Merge freefall.cl.cam.ac.uk:/auto/anfs/scratch/font/sd386/xen-2.0-testing.bk into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-2.0-testing.bk
| | * | bitkeeper revision 1.1159.170.110 (42527636gInunc40rkIVZVCuDC-_OQ)sd386@font.cl.cam.ac.uk2005-04-054-26/+67
| | |\ \ | | | | | | | | | | | | | | | | | | | | Merge
| | * | | bitkeeper revision 1.1159.170.102 (41fa2751heRkQ76AYa9Oe-6cOyJuLw)sd386@font.cl.cam.ac.uk2005-01-282-8/+14
| | | | | | | | | | | | | | | | | | | | | | | | | Enhanced SEDF scheduler
| | * | | bitkeeper revision 1.1159.170.101 (41ebbffd4FxrNM4pQF5Ip7nRjrUUjg)sd386@font.cl.cam.ac.uk2005-01-173-0/+54
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge font.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk into font.cl.cam.ac.uk:/local/scratch/sd386/xen-2.0-testing.bk
| | | * | | bitkeeper revision 1.1159.221.1 (41ebbfeezjfpGp20MD6f6Xl2r6Wd3Q)sd386@font.cl.cam.ac.uk2005-01-173-0/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added new simple EDF scheduler
* | | | | | bitkeeper revision 1.1389.5.21 (427a5ee3rBlRFupS4xBvv_nWVHQlsA)kaf24@firebug.cl.cam.ac.uk2005-05-051-10/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean up IO-APIC handling in domain0, and the hypercall interface exported by Xen (inc. removal of PCI-related calls). This hopefully fixes acpi=off. Signed-off-by: Keir Fraser <keir@xensource.com>
* | | | | | bitkeeper revision 1.1389.5.16 (427a2d48fB11IAeFlv0AL07RxME0vg)smh22@tempest.cl.cam.ac.uk2005-05-051-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | build privcmd even in unpriv domains; minor libxc fix Signed-off-by: Steven Hand <steven@xensource.com>
* | | | | | bitkeeper revision 1.1389.7.5 (4279f582pwUD_gXMbX8w4RQ2aYmGDA)kaf24@firebug.cl.cam.ac.uk2005-05-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix return code from xc_domain_create. Signed-off-by: Keir Fraser <keir@xensource.com>
* | | | | | bitkeeper revision 1.1389.1.23 (4275e716ZM2AFvimq_UhqQK8jiiq5g)kaf24@firebug.cl.cam.ac.uk2005-05-023-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix xc_ptrace interface to get rid of pid_t. Signed-off-by: Keir Fraser <keir@xensource.com>
* | | | | | bitkeeper revision 1.1389.1.16 (4273458eyxEjHSppjkQyDsXHHxOY9Q)kaf24@firebug.cl.cam.ac.uk[kaf24]2005-04-305-4/+432
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | coredump.patch Extend libxc and gdb server to coredump a domain. Signed-off-by: Kip Macy <kmacy@fsmware.com>
* | | | | | bitkeeper revision 1.1389.1.15 (4273436eypuqO7C1_MKQjhBV2kylZw)arun.sharma@intel.com[kaf24]2005-04-301-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [PATCH] vmx-mach-to-phys.patch VMX domains need to setup their machine to physical maps. Signed-off-by: Arun Sharma <arun.sharma@intel.com>
* | | | | | bitkeeper revision 1.1389.1.14 (427343557mBKHXIKNWB3vC3vSFMQ7g)kaf24@firebug.cl.cam.ac.uk2005-04-301-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix xc_ptrace for paravirtualized guests. Signed-off-by: Kip Macy <kmacy@fsmware.com>
* | | | | | bitkeeper revision 1.1389.1.4 (427125bdwah0mehgnafVLP-gRLDM_w)kaf24@firebug.cl.cam.ac.uk2005-04-283-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid field duplication between vcpu_guest_context and arch_exec_domain structures. The latter now includes the former as a sub-field. Signed-off-by: Keir Fraser <keir@xensource.com>
* | | | | | bitkeeper revision 1.1389.1.2 (4270ed5dZvr_HdIQR0eBM2m4Kj81_A)kaf24@firebug.cl.cam.ac.uk2005-04-288-62/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Renames: execution_context/xen_regs -> cpu_user_regs full_execution_context -> vcpu_guest_context [defined both 'struct xxx' and 'xxx_t' forms] Signed-off-by: Keir Fraser <keir@xensource.com>
* | | | | | bitkeeper revision 1.1385.1.3 (426f6b05kK8EBkiTLCXBeJZCPG2ZgQ)kaf24@firebug.cl.cam.ac.uk2005-04-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cset exclude: bren@br260.wolfson.cam.ac.uk|ChangeSet|20050426221254|30123
* | | | | | bitkeeper revision 1.1385.1.2 (426ebce6uikcKvm56neQ1G3uFEGApw)bren@br260.wolfson.cam.ac.uk2005-04-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Properly set memory parameters for newly created domains. Signed-off-by: Bin Ren <bin.ren@cl.cam.ac.uk>
* | | | | | bitkeeper revision 1.1385.1.1 (426e50841dwkW8TPBgE1y4h3O71bsQ)smh22@firebug.cl.cam.ac.uk2005-04-262-34/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | build when DEBUG=1 + whitespace fixes
* | | | | | bitkeeper revision 1.1379 (426ca278F5TOjFztt77FKYt8v457dg)leendert@watson.ibm.com[kaf24]2005-04-251-4/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [PATCH] [PATCH] Assorted VMX patches This patch contains the following VMX patches: - ioemu: Update the address when doing a stosb/stosw/stosl. Without this patch stosb writes req->count times at the same location req->addr. Not exactly the intended semantics. - xc_ptrace.c: Use the page_array to refer to partition memory. This allows you to use gdbserver on a VMX partition (and presumably partitions that use shadow page tables). - dom0_ops.c: Preserve ECF_VMX_GUEST flag for gdbserver. Without it you cannot (re)set the VMX domain state. - vmx.c: Added support for lmsw. Unmodified FreeBSD uses this when running inside a VMX partition. Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com> ===== tools/ioemu/iodev/cpu.cc 1.8 vs edited =====
* | | | | | bitkeeper revision 1.1373 (426a2bc8m7wX71OOkLtSOgNXcrObMA)kaf24@firebug.cl.cam.ac.uk2005-04-231-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | xc_domain.c: Ensure ctxt is mlocked in xc_domain_getfullinfo.
* | | | | | bitkeeper revision 1.1367 (4269220d42QVzUVVn9-Tn1tb9fNSWw)kaf24@firebug.cl.cam.ac.uk2005-04-223-47/+56
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove memory and cpu parameters from DOM0_CREATEDOMAIN, and remove DOM0_SETINITIALMEM. You can get the same effect via PINCPU, SETMAXMEM, and do_mem_op(increase_reservation). Signed-off-by: Keir Fraser <keir@xensource.com>
* | | | | bitkeeper revision 1.1321 (42642eb1DhlDvDKcX1gTZhvys-xHJQ)iap10@freefall.cl.cam.ac.uk2005-04-181-84/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix single-stepping make persistent context per-cpu Signed-off-by: Kip Macy <kmacy@fsmware.com> Signed-off-by: ian@xensource.com
* | | | | bitkeeper revision 1.1320 (42642ddapSMPP0vKzhY_zJP6GaMQ7A)iap10@freefall.cl.cam.ac.uk2005-04-181-1/+2
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | Merge freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-2.0-testing.bk into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
| * | | | bitkeeper revision 1.1159.258.103 (42642c5djs1dzMOSs-vIJLlGCQyrMQ)iap10@freefall.cl.cam.ac.uk2005-04-181-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow xc_domain_info_t to be optional in xc_domain_getfullinfo From: Kip Macy Signed-off-by: ian@xensource.com
* | | | | bitkeeper revision 1.1305 (42603ffeunTyoZX2egpGvfR_Km2tBw)katzj@redhat.com[iap10]2005-04-151-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [PATCH] Install libraries into libdir Attached makes it so that libxc and libxutil get installed into /usr/lib64 instead of /usr/lib on x86_64. Signed-off-by: Jeremy Katz <katzj@redhat.com> ===== Config.mk 1.3 vs edited =====
* | | | | bitkeeper revision 1.1294 (425d9f852SL8ULzr5896Y6r81VmGmQ)iap10@tetris.cl.cam.ac.uk2005-04-132-5/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | Manual merge
| * | | | bitkeeper revision 1.1159.258.90 (425a82f9SNVZLPiwpO07IDSTr_VE7g)ccoffing@novell.com[iap10]2005-04-112-5/+3
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [PATCH] stream fixes for migration I've attached a patch for libxutil/libxc. This fixes one of the hangs = I've seen during migrations. It applies against 2.0 and 2.0-testing. Changes: * Encountering EOF or error when xfrd reads from stream could cause an = infinite loop. * Cleaned up the closing of streams. * Fixed several memory leaks. Signed-off-by: Charles Coffing <ccoffing@novell.com>
* | | | bitkeeper revision 1.1291.1.1 (425bebf9aCUxgH4Es3NJxOCwIS_yVA)mafetter@fleming.research2005-04-121-15/+0
| | | | | | | | | | | | | | | | | | | | Remove debug hooks that shouldn't be enabled by default.
* | | | bitkeeper revision 1.1272.1.1 (425b95a8cRhux_vtKXZDHhnHcViWRg)mafetter@fleming.research2005-04-121-0/+15
| | | | | | | | | | | | | | | | | | | | Patch to run a domU in shadow test mode.
* | | | bitkeeper revision 1.1269 (42524412_qy8UFAnO7-nfNL1poTqIg)mafetter@fleming.research2005-04-055-120/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hand merge Signed-off-by: michael.fetterman@cl.cam.ac.uk
| * | | | bitkeeper revision 1.1236.1.209 (42517173PR-QieAWB-SNd4qnSxKmMQ)kaf24@firebug.cl.cam.ac.uk2005-04-045-120/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove broken atropos and round-robin schedulers. Clean up the scheduler plugin interface a little. Signed-off-by: Keir Fraser <keir@xensource.com>
* | | | | bitkeeper revision 1.1267 (4251679dHqcry__n_OW9aNhfUtjZ_A)mafetter@fleming.research2005-04-049-214/+129
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hand merged Signed-off-by: michael.fetterman@cl.cam.ac.uk
| * | | | bitkeeper revision 1.1236.1.206 (424fd1e3OF1dIgDtN9JonRnCv2YHrQ)kaf24@viper.(none)2005-04-032-131/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean up symtab loading in elf loader. Signed-off-by: Keir Fraser <keir@xensource.com>
| * | | | bitkeeper revision 1.1236.1.197 (424e4a83Uiv2R3w5XZIvsLYfRc7fhQ)leendert@watson.ibm.com[kaf24]2005-04-021-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [PATCH] [PATCH] tools/libxc/xc_vmx_build.c broken xc_vmx_build pins the level 2 page table too early so that subsequent maps (like those in zap_mmio_ranges) fail and consequently xc_vmx_build fails. To solve this, this patch pins the l2pt at the end of the function when all memory initializations are finalized. Signed-off-by: Leendert van Doorn <leendert@watson.ibm.com>
| * | | | bitkeeper revision 1.1236.1.183 (424d1ccaDlUUQZ1KrVHubRYFS5AKQA)kaf24@firebug.cl.cam.ac.uk2005-04-013-44/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Batch p.t. pin requests during guest restore (after being suspended, or after migration). Allow L1 tables to be pinned even after their va backptr is fixed (no longer mutable). Signed-off-by: Keir Fraser <keir@xensource.com>
| * | | | bitkeeper revision 1.1236.1.165 (424ba95eSoKkDgTWnpIIuTJTyWdHJg)kaf24@firebug.cl.cam.ac.uk2005-03-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Small gcc4 fix in xc_ptrace. Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
| * | | | bitkeeper revision 1.1236.1.164 (424aed36IaX4v3-NGAT_MnCdUsD1yQ)kaf24@firebug.cl.cam.ac.uk2005-03-306-26/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Split mmu_update() hypercall into mmu_update() and mmuext_op(). All MMUEXT_* ops are now done via the latter hypercall. This allows more arguments to be passed in a nicer way to mmuext operations. Linux 2.4, 2.6 and control tools all use the new interface. The BSDs will need some work, but shouldn't be too hard (and they can be moved to writable pagetables at the same time :-) ). Signed-off-by: Keir Fraser <keir@xensource.com>