aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update Xen version to 4.0.0-rc54.0.0-rc5Keir Fraser2010-03-012-2/+3
|
* Revert C/S 20966 "Disable memory mapping warnings when stub domain is used."Keir Fraser2010-03-011-4/+2
| | | | | | | It was ealier resolved by C/S 20720 and C/S 20751. This fix was backported to xen-3.4-testing. Signed-off-by: Daniel Kiper <dkiper@net-space.pl>
* Revert 20954:b4041e7bbe1b "paging_domctl: Add missing breaks in switch stmt"Keir Fraser2010-02-261-2/+0
| | | | | | | | | | | This fixed a fairly innocuous bug (OP_ENABLE/OP_OFF both don't work properly) but unmasked a much nastier one (turning off shadow mode on a PV guest crashes the hypervisor). So, for now, we pick the less of two evils. We don't really much rely on OP_ENABLE/OP_OFF anyway, as it happens. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* x86: fix number of array elements calculation inKeir Fraser2010-02-261-1/+2
| | | | | | XEN_DOMCTL_getpageframeinfo3 handler Signed-off-by: Jan Beulich <jbeulich@novell.com>
* ACPI S3: fix S3 resume fail on system w/ msi capable hpetKeir Fraser2010-02-261-14/+20
| | | | | | | | Don't re-allocate memory for irq_channel which will cause a BUG_ON in hpet_msi_write, and make sure hpet_setup_msi_irq() executed during S3 resuming. Signed-off-by: Wei Gang <gang.wei@intel.com>
* x86_32: Fix build after 20983:94535cc63835Keir Fraser2010-02-261-2/+6
| | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* x86 numa: Fix post-boot ACPI SLIT accesses.Keir Fraser2010-02-251-2/+13
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* x86 numa: Fix i386 to not do bogus mfn_to_virt(alloc_boot_pages(...))Keir Fraser2010-02-251-1/+9
| | | | Signed-off-by: Jan Beulich <jbeulich@novell.com>
* ACPI: workaround for S3 fail in two facs tables caseKeir Fraser2010-02-251-3/+8
| | | | | | | | | Some legacy BIOS which support ACPI2.0+ may expose two FACS tables via both FADT->FIRMWARE_CTRL and FADT->X_FIRMWARE_CTRL, but only lookup S3 waking_vector in the first one. Signed-off-by: Wei Gang <gang.wei@intel.com> Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* VT-d: Fix ia64 build for 20974:3b475d9ed6b5Keir Fraser2010-02-251-0/+4
| | | | | | | | | This patch fixes the following error on ia64: iommu.c: In function 'init_vtd_hw': iommu.c:1831: error: 'nr_ioapics' undeclared (first use in this function) Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
* libxc: Pre-zero argument structures for map/unmap_pirq operations.Keir Fraser2010-02-251-0/+3
| | | | | From: Yunhong Jiang <yunhong.jiang@intel.com> Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* x86: allow SRAT to be used on 32-bit systems with memory beyond 4GKeir Fraser2010-02-242-4/+4
| | | | Signed-off-by: Jan Beulich <jbeulich@novell.com>
* x86: Fix build error after c/s 20969:8cb6e7eff2baKeir Fraser2010-02-241-3/+2
| | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* libxc: Fix cpuid() inline asm.Keir Fraser2010-02-241-4/+13
| | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* Provide a variant of __RING_SIZE() that is an integer constantKeir Fraser2010-02-242-2/+8
| | | | | | | | | expression Without that, gcc 4.5 won't compile (at least) netfront, where this is being used to specify array sizes. Signed-off-by: Jan Beulich <jbeulich@novell.com>
* vtd: interrupt remapping: be more defensiveKeir Fraser2010-02-242-0/+25
| | | | | | | | | | | | | | 1) A buggy BIOS may not report IOAPIC in DRHD. Currently we still try to enable IR while the IOAPIC RTEs are still in non-remappable format and the host would hang. The patch detects this case and will not try to enable IR. 2) Currently HPET's MSI mode doesn't work if IR is enabled because we have no code to allocate IRTE for it. Luckily this HW configuration is rather rarely at present, we can just work it around by only using HPET's IOAPIC mode for now. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* sched_credit: Reduce is_urgent flag check to a WARN_ON.Keir Fraser2010-02-241-1/+1
| | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* cpuidle: Small fix to urgent_count update logic.Keir Fraser2010-02-241-2/+4
| | | | | From: Ke Yu <ke.yu@intel.com> Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* [IA64] Support preemption in multicallKeir Fraser2010-02-241-30/+35
| | | | | | | | After 19946:91407452cdb6, preemption in multicall may happen while HVM domains are running. It cause hypervisor's panic on ia64. This patch implements it in the same way to x86. Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
* xm: Show usage message of xm commandsKeir Fraser2010-02-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | The following commands don't show an usage message even if we give a wrong option to the commands. - xm block-list - xm network-list - xm network2-list - xm vtpm-list - xm pci-list - xm scsi-list e.g. # xm block-list --xxx vm1 Error: option --xxx not recognized This patch shows the usage message of the commands. e.g. # xm block-list --xxx vm1 Error: option --xxx not recognized Usage: xm block-list <Domain> [--long] List virtual block devices for a domain. Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
* x86: Generalise BUGFRAME_dump mechanism to allow polled UART irq toKeir Fraser2010-02-245-19/+38
| | | | | | get proper regs argument. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* xend: notify xenpv device model that console info is readyKeir Fraser2010-02-241-0/+5
| | | | | | | | | | | | | | | | | | | | | | Sometimes PV domain with vfb doesn't boot up. /sbin/kudzu is stuck. After investigation, I've found that the evtchn for console is not bound at all. Normal sequence of evtchn initialization in qemu-dm for xenpv is: 1) watch xenstore backpath (/local/domain/0/backend/console/<domid>/0) 2) read console info (/local/domain/<domid>/console/{type, ring-ref, port..= }) 3) bind the evtchn to the port. But in some case, xend writes to the backpath before the console info is prepared, and never write to the backpath again. So the qemu-dm fails at 2) and never reach to 3). When this happens, manually xenstore-write command on Domain-0 resumes the guest. Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
* python: Don't install anything directly under /usr/shareKeir Fraser2010-02-222-3/+3
| | | | Signed-off-by: Guillaume Rousse <Guillaume.Rousse@inria.fr>
* Disable memory mapping warnings when stub domain is used.Keir Fraser2010-02-221-2/+4
| | | | Signed-off-by: Daniel Kiper <dkiper@net-space.pl>
* hvmloader: Replace unportable usage of GNU head with portable awk.Keir Fraser2010-02-221-1/+2
| | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* [IA64] Support grant_table v2 for XENMAPSPACE_grant_tableKeir Fraser2010-02-221-5/+18
| | | | | | | This patch is ia64 counter part of 20281:95ea2052b41b. This fixes the issue that HVM domains with PV-on-HVM drivers panic. Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
* Fix blktap2 test in xen-hotplug-cleanupKeir Fraser2010-02-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | The blktap2 test in xen-hotplug-cleanup was not quite right, causing orphaned /vm/<uuid>/device node in xenstore. Attempt to reattach the device failed: xen53: # xm block-attach 0 file:/tmp/d0 /dev/xvdp r xen53: # xm block-detach 0 /dev/xvdp xen53: # xenstore-ls /vm/00000000-0000-0000-0000-000000000000/device vbd =3D "" 51952 =3D "" frontend =3D "/local/domain/0/device/vbd/51952" frontend-id =3D "0" backend-id =3D "0" backend =3D "/local/domain/0/backend/vbd/0/51952" xen53: # xm block-attach 0 file:/tmp/d0 /dev/xvdp r Error: Device /dev/xvdp (51952, vbd) is already connected. Usage: xm block-attach <Domain> <BackDev> <FrontDev> <Mode> [BackDomain] From: Jim Fehlig <jfehlig@novell.com> Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* Fix for fs-backend crash when xend was not started after system boot.Keir Fraser2010-02-222-1/+9
| | | | Signed-off-by: Daniel Kiper <dkiper@net-space.pl>
* pv-on-hvm: Fix unplug logicKeir Fraser2010-02-221-1/+1
| | | | | | Add the missing part for the dev_unplug parameter in r20847 Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
* hvmloader: fix vgatype detecting issueKeir Fraser2010-02-221-1/+2
| | | | | | | | | | | | When graphics card is assigned to a guest as a secondary VGA, without gfx_passthru and emulated VGA is the primary VGA, hvmloader misreads gfx_passthru is specified if VGA device is found after the emulated VGA. This patch fix this issue. If emulated VGA is found, hvmloader preserves it and loads vgabios of the emulated VGA. Signed-off-by: Noboru Iwamatsu <n_iwamatsu@jp.fujitsu.com>
* tmem: Quieten noisy printk in non-debug buildKeir Fraser2010-02-221-0/+2
| | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* Update QEMU_TAG to e5d14857cd67490bf956d97c8888c0be95ed3f78Keir Fraser2010-02-221-4/+3
|
* xm: Fix xm network-list for XenAPIKeir Fraser2010-02-221-2/+5
| | | | | | | When I use XenAPI, MAC addresses are not shown by xm network-list. MAC addresses are shown by this patch. Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
* paging: Remove noisy printkKeir Fraser2010-02-221-3/+0
| | | | Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
* tmem: When failing allocs from "midsize alloc zone", try the tmemKeir Fraser2010-02-171-3/+3
| | | | | | pools rather than fail outright. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* paging_domctl: Add missing breaks in switch stmt.Keir Fraser2010-02-171-0/+2
| | | | | From: Tim Deegan <Tim.Deegan@citrix.com> Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* Mask AMD CPUID masks in software before writing them to the MSRsKeir Fraser2010-02-171-0/+8
| | | | | | | | | Mask AMD CPUID masks in software before writing them to the MSRs. Setting bits in the CPUID mask MSR that are not set in the unmasked CPUID response can cause those bits to be set in the masked response. Avoid that by explicitly masking in software. Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
* x86/mcheck: do not blindly de-reference dom0 et alKeir Fraser2010-02-175-12/+12
| | | | | | | | Since machine checks and CMCIs can happen before Dom0 even gets constructed, the handlers of these events have to avoid de-referencing respective pointers without checking. Signed-off-by: Jan Beulich <jbeulich@novell.com>
* Added tag 4.0.0-rc4 for changeset 912295f1b1f3Keir Fraser2010-02-161-0/+1
|
* Update Xen version to 4.0.0-rc44.0.0-rc4Keir Fraser2010-02-162-2/+2
|
* Added tag 4.0.0-rc3 for changeset 7d565d58f498Keir Fraser2010-02-161-0/+1
|
* Update Xen version to 4.0.0-rc34.0.0-rc3Keir Fraser2010-02-162-2/+3
|
* hotplug: ignore xenstore-read errorKeir Fraser2010-02-162-3/+3
| | | | | | | | The failure to read "backend/tap/<domid>/*" in the xenstore is a usual case since the domain is gone after xenstore-ls command is executed. The error should be ignored. Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
* cpuidle: do not enter deep C state if there is urgent VCPUKeir Fraser2010-02-165-24/+77
| | | | | | | | | | | | | when VCPU is polling on event channel, it usually has urgent task running, e.g. spin_lock, in this case, it is better for cpuidle driver not to enter deep C state. This patch fix the issue that SLES 11 SP1 domain0 hangs in the box of large number of CPUs (>= 64 CPUs). Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Tian Kevin <kevin.tian@intel.com> Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* When tmem is enabled, reserve a fraction of memoryKeir Fraser2010-02-151-1/+18
| | | | | | | for allocations of 0<order<9 to avoid fragmentation issues. Signed-off by: Dan Magenheimer <dan.magenheimer@oracle.com>
* If the 'sched' parameter is unrecognized, choose the first schedulerKeir Fraser2010-02-151-0/+3
| | | | Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
* xend: Remove redundant 'name' from LEGACY_CFG_TYPES and ↵Keir Fraser2010-02-151-2/+0
| | | | | | | | | | LEGACY_XENSTORE_VM_PARAMS Two 'name's are defined in LEGACY_CFG_TYPES of XendConfig.py. LEGACY_XENSTORE_VM_PARAMS also is same. This patch removes redundant 'name's. Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
* xenpaging: Small code style cleanupsKeir Fraser2010-02-151-3/+6
| | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* Fix a small bug about HVM_MAX_VCPUS related arrayKeir Fraser2010-02-152-2/+2
| | | | | | | | Currently it doesn't block running, anyway, it better fix the small bug considering if in the future HVM_MAX_VCPUS will not necessarily be 8x value. Signed-off-by: Liu, Jinsong <jinsong.liu@intel.com>=
* hvmloader: Fix an ACPI asl bug.Keir Fraser2010-02-151-1/+1
| | | | | | | | Fix an ACPI asl bug by explicitly convert PRS to buffer, otherwise PRS would be parsed as integer if less than 32/64 bits (according to ACPI 1.0 or 2.0). Signed-off-by: Liu, Jinsong <jinsong.liu@intel.com>