aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update Xen version for 3.3.0-rc43.3.0-rc4Keir Fraser2008-08-122-1/+2
|
* xend/xenapi: Initialize a VLAN PIF's record with the MAC and MTU sizeKeir Fraser2008-08-111-2/+18
| | | | | | of the created network interface Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* Add guide to using the kexec and kdump facility in xen.Keir Fraser2008-08-111-0/+213
| | | | Signed-off-by: Simon Horman <horms@verge.net.au>
* xend/xen-api: Have the VDI record return the security labelKeir Fraser2008-08-111-1/+2
| | | | Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
* stubdom: for safety, tell lwip we use the heap in the event handlerKeir Fraser2008-08-111-0/+1
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* page scrub: Serialise softirq with a new lock.Keir Fraser2008-08-111-4/+10
| | | | | | Avoids holding up acquiring page_scrub_lock in free_domheap_pages(). Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* xend: Better support for legacy HVM config of ia64Keir Fraser2008-08-111-1/+1
| | | | | | | | | | | On ia64, direct Linux boot is not supported, and 'Flash.fd' or 'guest_firmware.bin' has been used as a value of the 'kernel' option. Cset:17016 ignores those strings and overrides them with "/usr/lib/xen/boot/hvmloader". Signed-off-by: Kazuhiro Suzuki <kaz@jp.fujitsu.com> Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com> Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* Serialize scrubbing pagesKeir Fraser2008-08-111-4/+9
| | | | | | | | | | | I noticed that parallel scrubbing pages is not efficient due to spinlock contention. (also memory bandwidth?) Actually heap_lock becomes a bottleneck. In my investigation, it often takes 1 millisec just to acquire the lock on ia64 with 8cpus. It's very wasteful. Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
* x86, xenoprof: Add Nehalem to list of ppro coresKeir Fraser2008-08-111-12/+28
| | | | | | | | | | | | | | | | | | | | Straight port from Linus's tree: commit 4b9f12a3779c548b68bc9af7d94030868ad3aa1b Author: Linus Torvalds <torvalds@linux-foundation.org> Date: Thu Jul 24 17:29:00 2008 -0700 x86/oprofile/nmi_int: add Nehalem to list of ppro cores ..otherwise oprofile will fall back on that poor timer interrupt. Also replace the unreadable chain of if-statements with a "switch()" statement instead. It generates better code, and is a lot clearer. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Markus Armbruster <armbru@redhat.com>
* tools build: add cross-install to find the right "strip"Keir Fraser2008-08-112-2/+13
| | | | Signed-off-by: Aron Griffis <aron@hp.com>
* merge with xen-unstable.hgIsaku Yamahata2008-08-1137-241/+393
|\
| * x86: adjust placement of pause insn in _raw_spin_lock()Keir Fraser2008-08-081-2/+2
| | | | | | | | | | | | React to lock becoming available as quickly as possible. Signed-off-by: Jan Beulich <jbeulich@novell.com>
| * x86: also show event upcall mask when dumping guest stateKeir Fraser2008-08-082-22/+46
| | | | | | | | | | Signed-off-by: Jan Beulich <jbeulich@novell.com> Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
| * x86: Update guest timestamps on frequency change.Keir Fraser2008-08-081-0/+2
| | | | | | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
| * x86: Reduce restrictions on dom0_max_vcpus.Keir Fraser2008-08-082-5/+7
| | | | | | | | | | | | Place a BUILD_BUG_ON() in mm.c to replace one of the restrictions. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
| * ia64: PV driver domains - ugly python hacksKeir Fraser2008-08-081-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | x86 IOMMU support added a lot of assumptions about what PCI buses look like and where to find bridge devices. On ia64, we don't yet have virtualization friendly IOMMUs, so for the moment, we just want to keep "unsafe" PV PCI pass through working as well as it did in Xen 3.2. Looking at the code, it almost seems like x86 has thrown out support for the old style driver domain. Things that don't necessarily work on every PCI compliant architecture: * You can't assume that just because there's a device at 01:01.0 that there's also a bridge at 01:00.0 and blow-up when you don't find it. On HP ia64 boxes, PCI root bridges are not necessarily exposed as a PCI device. This pretty much means we can't call into any of the "FLR" code paths. * BAR alignment: it's hard to have BAR alignment when your page size is 16k. This wasn't a requirement for previous PV driver domains, so I assume it's only for IOMMU support. This is ugly, so I'm open to suggestions. It seems that all of these architecture checks could be replaced by checking some "iommu_present" variable to test whether the extra requirements are necessary. Signed-off-by: Alex Williamson <alex.williamson@hp.com>
| * prefix mini-os lists with minios_, drop QEMU_ prefix from QEMU_LIST_*Keir Fraser2008-08-0819-178/+178
| | | | | | | | | | | | That permits to reduce the amount of difference with upstream. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
| * ioemu: fix typo in serial emulationKeir Fraser2008-08-081-1/+1
| | | | | | | | | | | | | | There is a small bug on the serial emulation code that prevents kgdb from working correctly over the serial. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
| * stubdom: turn off_t 64bit on x86Keir Fraser2008-08-085-12/+131
| | | | | | | | | | | | | | | | We can decide to make off_t 64bit instead of implementing the LFS tricks. Name corresponding functions foo64 to permit simple caml programs linking. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
| * Update Xen version for 3.3.0-rc4-preKeir Fraser2008-08-072-2/+1
| |
| * Added tag 3.3.0-rc3 for changeset 57fca3648f25dcc085ee380954342960a7979987Keir Fraser2008-08-071-0/+1
| |
| * Update Xen version for 3.3.0-rc33.3.0-rc3Keir Fraser2008-08-072-1/+2
| |
| * unmodified drivers: update READMEKeir Fraser2008-08-071-4/+6
| | | | | | | | | | | | update unmodified_drivers/linux-2.6/README. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
| * xm: fix trivial typo. s/ciredump-restore/coredump-restart/Keir Fraser2008-08-071-1/+1
| | | | | | | | Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
| * Revert 18242:f20fb83dac2c (Xen 3.3 after all)Keir Fraser2008-08-072-12/+12
| | | | | | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* | [IA64] Print ACPI signature before overwriting itIsaku Yamahata2008-08-111-1/+2
| | | | | | | | | | | | | | | | We're printing out the ACPI table signature after we overwrite it with "OEMx". Let's print it out before so we know that the table was. Also limit print to 4 chars so we don't get garbage output. Signed-off-by: Alex Williamson <alex.williamson@hp.com>
* | [IA64] Remove VT-i no opcode warningIsaku Yamahata2008-08-081-3/+0
| | | | | | | | | | | | | | | | I've never been sure why we have such a big scary warning around this, when I have yet to see any system that does provide opcode decoding. Let's remove it. Signed-off-by: Alex Williamson <alex.williamson@hp.com>
* | [IA64] Cleanup ACPI checksum warningsIsaku Yamahata2008-08-081-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On bootup, I get a couple of these: (XEN) ACPI Warning (tbutils-0219): Incorrect checksum in table [APIC] - CE, should be 04 [20070126] (XEN) ACPI Warning (tbutils-0219): Incorrect checksum in table [APIC] - CE, should be 04 [20070126] I don't remember seeing them before, but they're pretty easy to fix. The problem is we update the lsapics, causing the checksum to be wrong, then we look for platform interrupt sources, which spits out a warning, and finally we look for the MADT again to fix the checksum, which also prints a warning. If we grab a pointer to the MADT before these, we can update the checksum after each step and avoid the warnings. Signed-off-by: Alex Williamson <alex.williamson@hp.com>
* | [IA64] backport EFI version warning fixIsaku Yamahata2008-08-083-7/+6
| | | | | | | | | | | | | | | | We have boxes that report EFI version 2.00 now, so adopt upstream linux patch to only warn on versions less that 1.00. Based on linux-2.6.git 873ec746158403af82c57ce26780166aafc159e1. Signed-off-by: Alex Williamson <alex.williamson@hp.com>
* | [IA64] Fix PV driver domains - xen stubsIsaku Yamahata2008-08-082-0/+14
| | | | | | | | | | | | | | | | | | | | Stub out new hypercalls in the hypervisor. The only odd one here is map/unmap_pirq. This seems to be for MSI support, which I don't believe we currently support for driver domains, so this is actually similar to the x86 code path. The tools code doesn't allow us to return -ENOSYS here :( Signed-off-by: Alex Williamson <alex.williamson@hp.com>
* | merge with xen-unstable.hgIsaku Yamahata2008-08-07157-1822/+4667
|\|
| * Use legacy ioemu on ia64 for Xen 4.0Keir Fraser2008-08-061-0/+4
| | | | | | | | Signed-off-by: Aron Griffis <aron@hp.com>
| * iommu: Make the iommu boot parameters more generic and flexibleKeir Fraser2008-08-061-5/+35
| | | | | | | | | | | | | | | | Make the 'iommu' boot parameter take a comma separated value indicating whether iommu is required to boot and whether to enable iommu for pv domains. Signed-off-by: Espen Skoglund <espen.skoglund@netronome.com>
| * ioemu-stubdom: fix initialization of vm_change_state_headKeir Fraser2008-08-061-0/+2
| | | | | | | | | | | | | | That is actually a no-op since it just sets it to NULL again, but makes sense. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
| * stubdom: fix documentation file namesKeir Fraser2008-08-061-1/+1
| | | | | | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
| * vtd: Update vtd.txtKeir Fraser2008-08-061-2/+7
| | | | | | | | | | | | | | | | Add "iommu=1" option in grub, due to VT-d is not enabled by default. In addition, describes how to enable MSI/MSI-x for assigned devices. Signed-off-by: Weidong Han <weidong.han@intel.com>
| * ioemu: Fix I/O BAR mapping problemKeir Fraser2008-08-061-1/+3
| | | | | | | | | | | | | | Check BAR type indicator to avoid I/O BAR being mistaken as 64-bit = memory BAR. Signed-off-by: Yu Zhao <yu.zhao@intel.com>
| * ioemu: fix a bug in serial_loadKeir Fraser2008-08-061-1/+0
| | | | | | | | | | | | | | Currently we are trying to read the same value twice in the serial_load function, this patch fixes that. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
| * vtd: Tiny cleanups.Keir Fraser2008-08-062-3/+4
| | | | | | | | Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
| * xend: Expose persistent domain path in xend conf fileKeir Fraser2008-08-061-0/+4
| | | | | | | | | | | | | | | | This patch exposes the persistent (aka managed) domain path in xend configuration file. This option is already supported in XendOptions but is not annotated in the configuration file. Signed-off-by: Jim Fehlig <jfehlig@novell.com>
| * vtd: Add 'force_iommu' optionKeir Fraser2008-08-063-3/+29
| | | | | | | | | | | | | | | | | | For security reasons, add 'force_iommu' option to ensure that it should not be possible under any conditions to boot Xen w/o VT-d being enabled. This would only be specified by users that really want the added security. Signed-off-by: Weidong Han <weidong.han@intel.com>
| * vtd: cleanupsKeir Fraser2008-08-061-15/+35
| | | | | | | | | | | | | | | | | | | | - Flush iotlb in iommu_page_mapping() after page mapping - Change BUG_ON() to ASSERT() in iommu_flush_iotlb_psi() - Add iommu_flush_write_buffer() if iommu_flush_iotlb_psi() fails in dma_pte_clear_one() - Change panic() message to easily know where panic happens Signed-off-by: Weidong Han <weidong.han@intel.com>
| * install more documentation to /usr/share/doc/xen and /etc/xenKeir Fraser2008-08-0610-18/+67
| | | | | | | | | | | | Also resync xmexample3 with xmexample1 and 2. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
| * stubdom: add *_URL variables to permit to use e.g. local mirrors.Keir Fraser2008-08-061-5/+10
| | | | | | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
| * Update version number 3.3->4.0.Keir Fraser2008-08-052-12/+12
| |
| * Remove vncconsole from example HVM configs. It's deprecated.Keir Fraser2008-08-052-10/+0
| | | | | | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
| * xend: vncconsole config option mustn't be a stringKeir Fraser2008-08-051-1/+1
| | | | | | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
| * ioemu: Do not pass -m (memory) option to qemu, as ioemu-remote rejectsKeir Fraser2008-08-052-15/+8
| | | | | | | | | | | | | | | | | | memory sizes greater than 2GB when built as a 32-bit binary. Instead, direct HVM Linux loading approximates end of low memory via a different method. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
| * x86: Remove WARN_ON() in domain_relinquish_resources().Keir Fraser2008-08-051-1/+0
| | | | | | | | | | It can fire if domain0 (e.g., qemu-dm) has Xen heap pages mapped. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
| * fs-back: build fix for BSDKeir Fraser2008-08-051-1/+1
| | | | | | | | Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>