Commit Graph
9853 Commits
Author SHA1 Message Date
awilliam@xenbuild.aw 0dc5928a6e [IA64] Fix vm_summary info in VTi domain
This patch fixed vm_summary info and provide correct max_itr_entry,
max_dtr_entry,impl_va_msb, rid_size and so on. 

Signed-off-by: Zhang xiantao <xiantao.zhang@intel.com>
2006-04-26 12:40:56 -06:00
awilliam@xenbuild.aw 390a5e26ef [IA64] remove RELOC_HIDE
This is now defined in xen/include/xen/compiler.h

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2006-04-25 23:38:09 -06:00
awilliam@xenbuild.aw aaf9402dab merge with xen-unstable.hg 2006-04-25 23:35:55 -06:00
awilliam@xenbuild.aw 0d7d0c0cf2 [IA64] Fix the total memory info with xm info command
This small patch intends to provide correct total memory info for
control panel and fixed hardcode for that. The total memory info doesn't
include the memory FW used.

Signed-off-by : Zhang Xiantao  <xiantao.zhang@intel.com>
2006-04-25 22:55:22 -06:00
awilliam@xenbuild.aw c6c867acc7 [IA64] Reseve memory of domain0 (fix dom0 boot panic)
Our patch fix domain0 boot panic on large memory system.
(e.g. amount of installed memory is 16GB)

Memory of domain0 is not reserved now.
Our patch can make this memory reserved.
And we clean up initrd_start of domain0.

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
2006-04-25 22:52:49 -06:00
awilliam@xenbuild.aw 4f49eae794 [IA64] Fixed "Oops: time tick before it's due" issue
This patch fixed following issue,
"Oops: time tick before it's due" in VTI-domain

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
2006-04-25 22:38:25 -06:00
awilliam@xenbuild.aw 2f41b3e04c [IA64] FPH enabling + cleanup
Move contents of switch_to macro from xensystem.h to context_switch function.
Initialize FPU on all processors.  FPH is always enabled in Xen.
Speed up context-switch (a little bit!) by not enabling/disabling FPH.
Cleanup (unused function/variablesi/fields, debug printf...)
vmx_ia64_switch_to removed (was unused).

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
2006-04-25 22:35:41 -06:00
awilliam@xenbuild.aw 5713e1b987 [IA64] smp boot speed-up (sal cache flush, itc/itv messages)
Use sal_cache_flush to emulate SAL_CACHE_FLUSH instead of fc.
Only prints one vcpu_set_itc message, do not print set itv message.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
2006-04-25 22:32:14 -06:00
awilliam@xenbuild.aw 4c476c5c53 [IA64] missed chunk of Kevin's hypercall cleanup patch
Missed this chunk of Kevin's patch when merging with dom0vp changes

Signed-off-by Kevin Tian <kevin.tian@intel.com>
2006-04-25 22:30:07 -06:00
awilliam@xenbuild.aw 40e34e2a34 [IA64] Hypercall cleanup
Clean up xen_hypercall to query hypercall table instead.

Signed-off-by Kevin Tian <kevin.tian@intel.com>
2006-04-25 22:27:18 -06:00
awilliam@xenbuild.aw 0017c898c6 [IA64] Use16M page size in identity mapping
Signed-off-by: Anthony Xu <anthony.xu@intel.com>
2006-04-25 22:10:05 -06:00
awilliam@xenbuild.aw ba20f187b7 [IA64] cleanup vtlb code
This patch is to clean up vtlb code.

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
2006-04-25 20:53:38 -06:00
awilliam@localhost e737afb883 [IA64] emulate ldfp8 in mmio
1. emulate ldpf8 in mmio
2. handle floating point register rotation in functions setfpreg and getfpreg

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
2006-04-25 17:05:16 -06:00
awilliam@localhost e1a87a84be [IA64] linux: arch/ia64/xen/makefile change
update linux-2.6-xen-sparse/arch/ia64/xen/Makefile

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-04-25 16:55:09 -06:00
awilliam@localhost 05e3e3c89e [IA64] dma paravirtualization
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-04-25 16:53:27 -06:00
awilliam@ldap.hp.com 44ecda1d9d [IA64] add dom0vp hypercall interfaces
adds the dom0vp hypercall interfaces.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-04-25 14:02:21 -06:00
awilliam@ldap.hp.com 6283fce6f0 [IA64] introduce config option
introduce XEN_IA64_DOM0_VP config.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-04-25 13:57:56 -06:00
awilliam@ldap.hp.com b4b8b91251 [IA64] introduce dom0vp hypercalls
implement dom0vp hypercall.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-04-25 13:56:30 -06:00
awilliam@ldap.hp.com 18982c3adb [IA64] domain0 builder change
make domain0 builder for dom0 vp model.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2006-04-25 13:48:02 -06:00
awilliam@ldap.hp.com 14ecb6faa4 [IA64] introduce efi_memmap_walk_type
introduce efi_memmap_walk_type() for the next dom0 builder patch.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-04-25 13:11:15 -06:00
awilliam@ldap.hp.com 406b52ce50 [IA64] introduce P2M conversion
introduce P2M conversion functions necessary for dom0vp model.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-04-25 13:06:57 -06:00
awilliam@ldap.hp.com fbc92d2b9d [IA64] introduce compile time option to xen
introduce xen_ia64_dom0_virtual_physical compile time option.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-04-25 10:54:45 -07:00
awilliam@ldap.hp.com 19d0ab2382 [IA64] Remove FORCE_CRASH from alt_itlb_miss
This patch removed FORCE_CRASH from alt_itlb_miss handler.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2006-04-25 10:50:56 -07:00
awilliam@ldap.hp.com f7d50b68c3 [IA64] message of elf_sanity_check as x86
This small patch output message of elf_sanity_check as x86.
Currently this panic is the only following message.

        (XEN) *** LOADING DOMAIN 0 ***
        (XEN) 
        (XEN) ****************************************
        (XEN) Panic on CPU 0:
        (XEN) Could not set up DOM0 guest OS
        (XEN) ****************************************
        (XEN) 
        (XEN) Reboot in five seconds...
        (XEN) machine_restart called: spinning....

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
2006-04-25 10:49:33 -07:00
kaf24@firebug.cl.cam.ac.uk b11a028b04 Need a little more serialisation in pciback_do_op().
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-04-25 18:22:11 +01:00
kaf24@firebug.cl.cam.ac.uk 93bb8669b3 Some of the Linux PCI functions called by the virtual configuration
space handlers were making calls into ACPI code which uses semaphores.
Since semaphores can not be locked while atomic (because they could
sleep), I changed the way the PCI backend responds to requests from the
frontend. Previously, the virtual configuration space handlers ran in
the same context as the event channel interrupt handler (which was often
atomic if not always atomic). Now the interrupt handler schedules a
callback function (a bottom half) in the system work queue (keventd)
that will get called in process context at a slightly later time. This
allows the handlers in the virtual configuration space to run in process
context and to call any core PCI function regardless of whether it will
sleep or not.

Signed-off-by: Ryan Wilson <hap9@epoch.ncsc.mil>
2006-04-25 18:13:39 +01:00
kaf24@firebug.cl.cam.ac.uk 91046a739e Fix the -xen, -xen0 builds.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-04-25 16:08:11 +01:00
kaf24@firebug.cl.cam.ac.uk 4dacb4e7f1 While other aspects of the system configuration may still be
controlled by the outcome of the table scan, if apic= was given on the
command line its effect should not be overridden here.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2006-04-25 14:50:32 +01:00
kaf24@firebug.cl.cam.ac.uk c0b2433fa9 Change the xenbus_map_ring_valloc() interface and implementation so
that it is buildable as a module.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
2006-04-25 14:20:08 +01:00
kaf24@firebug.cl.cam.ac.uk ba770381ca Update xen caps on x86_64 since we have hvm pae guests support now.
Signed-off-by: Xin Li <xin.b.li@intel.com>
2006-04-25 11:12:16 +01:00
kaf24@firebug.cl.cam.ac.uk e46dd6eea6 Add a return statement to the non-Xen version of skb_checksum_setup.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
2006-04-25 09:02:53 +01:00
kaf24@firebug.cl.cam.ac.uk 2c97bbed1e This is a small fix for SMP PAE guest on x86-64.
Since part of the VMX guest initialization is running in the context of
dom0, so when we want to make sure the operation of shadow ops is
always done by vcpu0 of the guest VMX domain, we should make sure
the current vcpu0 is running in guest domain and not in the dom0.

Signed-off-by: Xiaohui Xin xiaohui.xin@intel.com
Signed-off-by: Xin Li <xin.b.li@intel.com>
2006-04-25 08:56:01 +01:00
kaf24@firebug.cl.cam.ac.uk 7a3a16a1ca Fix "make debug" in Xen subtree. Pointed out by Aravindh
at Unisys.

Signed-off-by: Keir Fraser <keir@xensource.com>
2006-04-25 08:54:36 +01:00
cl349@firebug.cl.cam.ac.uk 5796b1695e Remove \r characters.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2006-04-24 18:07:27 +01:00
cl349@firebug.cl.cam.ac.uk 3e4e48bbd5 Restore default KERNELS list.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2006-04-24 11:21:16 +01:00
smh22@firebug.cl.cam.ac.uk 2c04b08df9 Add new xml files for policy.
Signed-off by: Reiner Sailer <sailer@us.ibm.com>
2006-04-24 11:01:41 +01:00
smh22@firebug.cl.cam.ac.uk 655ead6573 This patch updates the documentation and extends the 'xm' man page with
the integrated access control management commands. The man page is a 
good place to start exploring these commands.

Signed-off by: Reiner Sailer <sailer@us.ibm.com>
2006-04-24 10:59:57 +01:00
smh22@firebug.cl.cam.ac.uk 5ab002b998 This patch integrates the new access control management tools into 'xm'
and 'xend' and supports label/ssid translation support for 
migration/life-migration/resume.

Signed-off by: Reiner Sailer <sailer@us.ibm.com>
2006-04-24 10:59:17 +01:00
smh22@firebug.cl.cam.ac.uk e7f4f3a1de This patch adds new python access control management scripts, which
integrate into Xen Management and which support the new access control 
labels (labels replace the ssidref numbers at the management user 
interface).

Signed-off by: Reiner Sailer <sailer@us.ibm.com>
2006-04-24 10:58:25 +01:00
smh22@firebug.cl.cam.ac.uk 2d59e34fc2 This patch deletes the old shell-based security tools.
Signed-off by: Reiner Sailer <sailer@us.ibm.com>
2006-04-24 10:54:47 +01:00
smh22@firebug.cl.cam.ac.uk 1f11fdecb1 This patch adds support for managing and creating the simplified
policies to the policy generation tools.

Signed-off by: Thomas Lendacky <toml@us.ibm.com>
Signed-off by: Reiner Sailer <sailer@us.ibm.com>
2006-04-24 10:52:19 +01:00
smh22@firebug.cl.cam.ac.uk 30476c8dba This patch adds support in the hypervisor for the policy name attribute
introduced into security policies. It also fixes a minor problem related 
to handling unsupported boot policies.

Signed-off by: Reiner Sailer <sailer@us.ibm.com>
2006-04-24 10:51:50 +01:00
smh22@firebug.cl.cam.ac.uk 87d52008e4 This patch adds support in the hypervisor for the policy name attribute
introduced into security policies. It also fixes a minor problem related 
to handling unsupported boot policies.

Signed-off by: Reiner Sailer <sailer@us.ibm.com>
2006-04-24 10:51:20 +01:00
smh22@firebug.cl.cam.ac.uk c462e5c2f0 This patch adds a policy name to the policy definition. This policy name
must be unique and must change if the content of the file changes. The 
policy name is used to ensure that the XM tools and the hypervisor work 
on the same policy, i.e., interpret the security information on domains 
consistently. This patch also simplifies the policy management by moving 
policy and labels into a single file.

Signed-off by: Reiner Sailer <sailer@us.ibm.com>
2006-04-24 10:50:38 +01:00
kaf24@firebug.cl.cam.ac.uk 830cb9cdcc Remove annoying pit debug info when booting smp guest.
Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
2006-04-23 09:20:31 +01:00
kaf24@firebug.cl.cam.ac.uk 65fbb3b646 The Xen checksum offload feature attempts to insert a TCP/UDP
checksums into already encrypted packets (esp4) in dom0.  Obviously,
it is not possible to insert a checksum into an already encrypted
packet, so this patch inserts the checksum prior to encrypting
packets in net/ipv4/xfrm4_output.c.

To do this cleanly, the TCP/UDP header pointers need to be pointed to
the correct spot, so this functionality has been abstracted into a new
function.

This patch fixes bug 143 (verified by Jim Dykman).  Earlier version
verified by Jon McCune.

Signed-off-by: James Dykman <dykman@us.ibm.com>
Signed-off-by: Jon Mason <jdmason@us.ibm.com>
2006-04-22 10:41:53 +01:00
kaf24@firebug.cl.cam.ac.uk ac9595600a Avoid spurious timer activations in migrate_timer().
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-04-22 10:37:24 +01:00
kaf24@firebug.cl.cam.ac.uk de4294617e Remove update_vcpu_system_time() call from the per-VCPU timer
callback function. It's unnecessary and in fact may occasionally
even run on the wrong CPU.

Signed-off-by: Keir Fraser <keir@xensource.com>
2006-04-22 10:26:28 +01:00
kaf24@firebug.cl.cam.ac.uk b149823741 Avoid flood of PIT interrupts while debugging an hvm guest.
This is rebased to the new PIT code now. It has the same logic as
earlier. PIT tries to catch up the missed timer ticks by injected all
the ticks one by one so that Guest time stays close to the wall clock.
But while debugging a hvm guest if you stop the guest by debugger and
then continue, the guest sees flood of interrupts compensating the
missed ticks for the stopped time. This patch just check if the guest is
being debugged, if yes then it does not try to catch up with the missed
ticks.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@.intel.com>
2006-04-22 10:14:11 +01:00
kaf24@firebug.cl.cam.ac.uk 83d83bb966 Fix VM_RESERVED check in vm_normal_page(). Pointed out by
Isaku Yamahata.

Signed-off-by: Keir Fraser <keir@xensource.com>
2006-04-22 09:45:45 +01:00