aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update Xen version for 3.3.0-rc53.3.0-rc5Keir Fraser2008-08-152-1/+2
|
* x86, hvm: Fix softtsc for AMD-VKeir Fraser2008-08-153-2/+16
| | | | | | | | The softtsc code for AMD does not update the ip; enabling it on AMD-V results in the domain spinning on the RDTSC instruction. The patch is against xen-unstable 18331. Signed-off-by: John Byrne <john.l.byrne@hp.com>
* x86 shadow: Fix OOS typecounting.Keir Fraser2008-08-141-8/+7
| | | | | From: Gianluca Guida <gianluca.guida@eu.citrix.com> Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* pv-grub: On x86_64, also build an x86_32 pv-grubKeir Fraser2008-08-145-62/+86
| | | | | | | This requires suffixing obj directories and having grub compiled outside sources. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* Fix restore crash with certain guest memory sizesKeir Fraser2008-08-141-7/+7
| | | | | | | | This fixes a crash when restoring guests with certain memory sizes (eg 223MB). The ROUNDUP in the call to memcpy, was the main offender, but I didn't care for the inplace resizing of the p2m entries either. Signed-off-by: Bruce Rogers <brogers@novell.com>
* x86, shadow: Fix OOS on domain crash.Keir Fraser2008-08-141-0/+10
| | | | | | | | | | | | | | | | | | I couldn't reproduce the Nevada crash on my testbox, but this should fix the first Xen crash that was seen in the Nevada HVM (bugzilla #1322). What I think most probably happened there is that the set_l2e call in shadow_get_and_create_l1e() has tried to resync a page, but somehow we weren't unable to remove the shadow (the real bug we should actually look after). sh_resync() then removes the page from the OOS hash and later in the page fault path we find the gw.l1mfn to be still OOS, so we try to update the snapshot and the bug happens. This should fix this and other unlikely (like sh_unsync() failing to remove for hash collision the current gw.l1mfn) cases. Signed-off-by: Gianluca Guida <gianluca.guida@eu.citrix.com>
* [ia64] remove the runtime warning when hvmop_set_mem_type is used.Isaku Yamahata2008-08-141-0/+4
| | | | | | | remove the runtime warning when HVMOP_set_mem_type is used. But the hypercall just returns -ENOSYS. It isn't implemented yet. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* merge with xen-unstable.hgIsaku Yamahata2008-08-1327-132/+414
|\
| * shadow: Fix BUILD_BUG_ON().Keir Fraser2008-08-131-1/+1
| | | | | | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
| * MSI-X: enhancementKeir Fraser2008-08-139-80/+74
| | | | | | | | Signed-off-by: Yu Zhao <yu.zhao@intel.com>
| * xend: Allow xenconsoled to be passed arguments at startupKeir Fraser2008-08-131-5/+11
| | | | | | | | | | | | | | Attached patch allows to pass arguments to xenconsoled via XENCONSOLED_TRACE env. variable analogous to xenstored. Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
| * xend: Make sure that 'PV_kernel' config param is not blank whenKeir Fraser2008-08-131-1/+1
| | | | | | | | | | | | | | assigning it to 'loader' param. This fixes a failure of 'xm create' via xen-api. Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>
| * x86: Simplify arch_virq_is_global().Keir Fraser2008-08-131-6/+1
| | | | | | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
| * x86: Fix shadow code's handling of p2m superpage changesKeir Fraser2008-08-131-8/+30
| | | | | | | | | | | | | | | | | | When a p2m superpage entry is shattered, it's important not to unshadow any parts of the 2MB region that are still there afterwards. Otherwise shattering a superpage that contains the guest's top-level pagetable will cause the guest to be killed. Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
| * x86 shadow: Relax BUILD_BUG_ON() regarding struct sizes.Keir Fraser2008-08-131-5/+4
| | | | | | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
| * x86, shadow, oos: Remove overzealous warning and simplify code.Keir Fraser2008-08-131-6/+1
| | | | | | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
| * x86 mcheck: mce_disabled is not __initdata: it's referenced on S3 resumeKeir Fraser2008-08-131-1/+1
| | | | | | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
| * vtd: Add checking on return value of init_vtd_hw()Keir Fraser2008-08-131-1/+2
| | | | | | | | | | | | | | | | This ensures correct actions will be taken if init_vtd_hw() fails. Especially, when 'iommu=force' is used, Xen should not boot if init_vtd_hw() fails. Signed-off-by: Weidong Han <weidong.han@intel.com>
| * Update Xen version for 3.3.0-rc5-preKeir Fraser2008-08-122-2/+1
| |
| * Added tag 3.3.0-rc4 for changeset 96d0a48e87ee46ba7b73e8c906a7e2e0baf60e2eKeir Fraser2008-08-121-0/+1
| |
| * 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>
* | [IA64] fix vtlb flushIsaku Yamahata2008-08-131-0/+4
|/ | | | | | Live migration with uninitialized vcpu will crash xen by null pointer. Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.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>