Commit Graph
10512 Commits
Author SHA1 Message Date
kaf24@firebug.cl.cam.ac.uk 940d86e2e1 [HVM][SVM] Clean up double-fault handling.
Signed-off-by: Tom Woller <thomas.woller@amd.com>
2006-06-28 10:03:24 +01:00
kaf24@firebug.cl.cam.ac.uk 948d53a5dd [HVM][SVM] Disable machine check bits in CPUID_1.
Signed-off-by: Tom Woller <thomas.woller@amd.com>
2006-06-28 10:02:27 +01:00
kaf24@firebug.cl.cam.ac.uk af392d5957 [HVM][SVM] Clean up 32bit/64bit guest register code differences.
Signed-off-by: Tom Woller <thomas.woller@amd.com>
2006-06-28 10:01:18 +01:00
kaf24@firebug.cl.cam.ac.uk a259718342 [LINUX] Fix a few compile warnings and memory leaks in the sysfs driver.
Also clean up the general allocate-call-free idiom that is used
throughout the file.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-06-27 18:24:08 +01:00
kaf24@firebug.cl.cam.ac.uk 499ef041a5 [LINUX][BLKBACK] Support temporary disconnection from frontend.
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-06-27 18:08:46 +01:00
kaf24@firebug.cl.cam.ac.uk c8e79412c0 [HVM] Fix virtual apic irq distribution.
But currently we inject PIT irqs to cpu0 only. Also mute some warning
messages.

Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Xin Li <xin.b.li@intel.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-06-27 15:38:32 +01:00
kfraser@dhcp93.uk.xensource.com 38ae18502a [XEN] Upgrade microcode driver to 1.14a.
Based on a patch from Jan Beulich.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-06-27 15:22:55 +01:00
kfraser@dhcp93.uk.xensource.com 8c01122785 [TOOLS] Remove plan9 loader code. Latest plan9 port uses linux builder.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-06-27 14:38:58 +01:00
kfraser@dhcp93.uk.xensource.com 64d2b4920b [XEN] Various cleanups to bitops usage.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-06-27 14:34:52 +01:00
kfraser@dhcp93.uk.xensource.com 60d78dbe14 [LINUX] Allow dma_alloc_coherent() to work for regions up to 2MB.
The previous limit of 0.5MB was insufficient for some drivers
(e.g., when loading firmware).
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-06-27 12:17:45 +01:00
kaf24@firebug.cl.cam.ac.uk ecb13a587e [BALLOON] Make the domain0 ballooning logic in xend aware of pages that are on the page scrub list.
This fixes the case where crashing/restarting a domain can cause dom0 to balloon more than
necessary.

I changed the physinfo dictionary in Python to be in KiB, rather than
MiB, to avoid accumulating ugly rounding errors.  I tried to avoid
changing units anywhere else.

Signed-off-by: Charles Coffing <ccoffing@novell.com>
2006-06-27 12:03:46 +01:00
kaf24@firebug.cl.cam.ac.uk 956c0afa80 [BUILD] Add distclean build target to xen directory: cleans out tags.
Signed-off-by: Horms <horms@verge.net.au>
2006-06-27 11:50:57 +01:00
kaf24@firebug.cl.cam.ac.uk 3144ac0f72 [BALLOON] Add fallback code so that e.g. a domain ballooned too far down can still
(slowly) recover.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2006-06-27 11:43:04 +01:00
kfraser@dhcp93.uk.xensource.com 4ab7b7d46e [XEN] Fix my change to XENVER_pagesize hypercall --
arg check wrong way round.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-06-27 11:35:29 +01:00
kaf24@firebug.cl.cam.ac.uk e1e21c589a [TPM] Fix an occasional problem when doing local migration due to the xenstore's
'instance' variable not being initialized at the time when it's driver
counterpart is accessed. That variable's content was used to initialize the
tpmif structure. Instead, now a pointer to the structure is passed whose
'instance' variable will be initialized before the domain is resumed.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2006-06-27 11:29:29 +01:00
kaf24@firebug.cl.cam.ac.uk a44d6f1d93 [XEN][BUILD] Both ctags and etags support the -a (append) option, and
by removing the tags or TAGS file, and then running using the
-a option in conjunction with xargs a full list of tags will
be obtained, regardless of how many files there are.

I believe that the existing invocations of both etags and ctags are wrong:

* I don't think - is a vailid argument to etags

* xargs ctags does not handle the case where ctags is invoked
  multiple times by xargs when there are too many files
  to fit on one command line.

Signed-off-by: Horms <horms@verge.net.au>
2006-06-27 11:27:25 +01:00
kaf24@firebug.cl.cam.ac.uk b9a9bc6e86 Add Xenoprof passive domain support
Signed-off-by: Yang Xiaowei <xiaowei.yang@intel.com>
Signed-off-by: Jose Renato Santos <jsantos@hpl.hp.com>
2006-06-27 11:23:06 +01:00
kaf24@firebug.cl.cam.ac.uk 78d2beff2c [HVM][SVM] move printk pin msg under an "if svm_dbg_on" conditional to
alleviate excessive printing of messages when vcpu pinned to new core.

Signed-off-by: Tom Woller <thomas.woller@amd.com>
2006-06-27 11:17:14 +01:00
kaf24@firebug.cl.cam.ac.uk 110b2784a3 [VTPM_TOOLS] Hotplug script enabled the vtpm manager and removed the
control messages from the BE.

Signed-off-by: Vincent Scarlata <vincent.r.scarlata@intel.com>
2006-06-27 11:15:48 +01:00
kaf24@firebug.cl.cam.ac.uk 0f9aad0de6 [VTPM_TOOLS] Updated vtpmd to save complete state in preperateion to
support suspend/resume and migration. Fixed startup bug.

Signed-off-by: Vincent Scarlata <vincent.r.scarlata@intel.com>
2006-06-27 11:14:19 +01:00
kaf24@firebug.cl.cam.ac.uk f8b88793c5 [VTPM_TOOLS] Moved the developement tpm_emulator down to ring 3, which
should make debugging easier as well as fix the emulator for x86_64

Signed-off-by: Vincent Scarlata <vincent.r.scarlata@intel.com>
2006-06-27 11:13:24 +01:00
kaf24@firebug.cl.cam.ac.uk db57f1b6d8 [TOOLS] Fix cm argument processing some more:
1. Remove has_long_option() and add arg_check_for_resource_list() 
     instead.
  2. 'args' tells 'options' from 'params' by using gnu_getopt().
  3. 'options' checks whether -l/--long option is specified.
  4. If 'params' not given, print out 'No domain parameter given'
     and usage.
  5. If 'params' given multiple domains, print out
     'No multiple domain parameters allowed' and usage.
  6. Then it displays the resources as usual.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2006-06-27 11:05:39 +01:00
kaf24@firebug.cl.cam.ac.uk 3d8026009b Add XENVER_pagesize hypercall.
Make xen pagesize available through xm info and sysfs.
Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
2006-06-27 10:44:33 +01:00
kfraser@dhcp93.uk.xensource.com 4b56090e1d [XEN][EMUL] x86 emulator should support 32-bit offsets in real mode.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-06-27 10:36:51 +01:00
kaf24@firebug.cl.cam.ac.uk 710f23ac8c [HVM][VMX] On a VMEXIT, 'dirty' the DR. Restore DR from vcpu struct,
disable DR exiting (i.e., enable guest DR access), set VCPUF_dr_dirtied.

Remove "emulated" DR access, which only read and wrote to the debug register
values of the context, but not to the actual hardware values themselves.

Signed-off-by: George Dunlap <dunlapg@umich.edu>
2006-06-27 09:54:05 +01:00
kaf24@firebug.cl.cam.ac.uk bb8fad6de5 [HVM][VMX] Added flag_dr_dirty to hvm vcpu struct. If this flag is set,
save the debug registers, clear the flag, and remove guest access to
debug registers.
Signed-off-by: George Dunlap <dunlapg@umich.edu>
Signed-off-by: Nitin Kamble <nitin.a.kamble@intel.com>
2006-06-27 09:51:18 +01:00
kaf24@firebug.cl.cam.ac.uk 18baf39b39 [HVM][VMX] Added dr restore if breakpoints are enabled in guest dr7.
Signed-off-by: George Dunlap <dunlapg@umich.edu>
Signed-off-by: Nitin Kamble <nitin.a.kamble@intel.com>
2006-06-27 09:48:23 +01:00
kaf24@firebug.cl.cam.ac.uk bf0894ac7b [HVM][VMX] Safer treatment of VM_EXEC_CONTROL when dealing w/ PENDING_INTERRUPT vmexit.
Signed-off-by: George Dunlap <dunlapg@umich.edu>
2006-06-27 09:41:09 +01:00
kaf24@firebug.cl.cam.ac.uk d2ea22a405 [HVM][VMX] Propagate debug exception to guest if no external debugger is enabled.
Signed-off-by: George Dunlap <dunlapg@umich.edu>
2006-06-27 09:33:35 +01:00
emellor@leeni.uk.xensource.com 3cd179cf27 Some fine-tuning in the virtual TPM scripts for hotpluging. The changes
enable a virtual TPM to save its state between reboots of the virtual
TPM implementation.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
Signed-off-by: Vincent Scarlata <vincent.r.scarlata@intel.com>
2006-06-24 23:44:18 +01:00
emellor@leeni.uk.xensource.com 936acab9fc Increases the retry limit to allow xend more time before issuing a balloon
error. This fixes bug #683.

Signed-off-by: Susan Krysan <krysans@unisys.com>
2006-06-24 23:39:05 +01:00
kaf24@firebug.cl.cam.ac.uk b9ad8f1e13 [TOOLS] Fix set_bit/clear bit for x86/64 in xc_linux_save
From: John Byrne <john.l.byrne@hp.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-06-22 21:37:33 +01:00
kaf24@firebug.cl.cam.ac.uk 62b3de3d4a [XM-TEST] Remove second console attach in 03_memset_random_pos
Signed-off-by: Jim Dykman <dykman@us.ibm.com>
2006-06-22 21:30:51 +01:00
kaf24@firebug.cl.cam.ac.uk df3f613e31 [VMX] Fix use of VMCLEAR a little: no need if not active on any CPU.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-06-22 15:25:18 +01:00
kaf24@firebug.cl.cam.ac.uk 66091ed16b [TOOLS] Make sure to explicitly close the connection if we're using HTTP/1.0. This
shouldn't be needed but it appears to be necessary as the Python client
just does a wfile.read() instead of only reading the reported Content-Length.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2006-06-22 15:10:48 +01:00
kaf24@firebug.cl.cam.ac.uk 74a08f001b [TOOLS] Treat '--' command-line split option correctly.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2006-06-22 15:09:48 +01:00
kaf24@firebug.cl.cam.ac.uk c772fee485 [TOOLS] Fix pagetable-pinning loop in xc_linux_restore.
Previously it would not pin last PFN in physmap even if it was
a pagetable page.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-06-22 14:12:01 +01:00
kaf24@firebug.cl.cam.ac.uk 42fae7ae02 [XEN] localtime support for paravirtualized guests
It is quite minimal
in its approach, satisfying the purposes of the paravirtualized
NetWare operating system as well as any others that expect the time
base to be provided in localtime.

Signed-off-by: Bruce Rogers <brogers@novell.com>
2006-06-21 17:09:14 +01:00
kaf24@firebug.cl.cam.ac.uk 060b6f6d38 [LINUX][TPM] Use min_t/min instead of the #define'd MIN.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2006-06-21 16:55:25 +01:00
kaf24@firebug.cl.cam.ac.uk 9fb9651ac5 [LINUX] Transparent virtualization fixes.
Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
2006-06-21 16:54:09 +01:00
kaf24@firebug.cl.cam.ac.uk 0cbf97ac5c [IA64] stub to support dump_execution_state() on ia64
Also implement on_selected_cpus() for ia64.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2006-06-21 10:56:20 +01:00
kaf24@firebug.cl.cam.ac.uk 295173e3ca [XEN] Xen always relinquishes VGA console to domain0 when domain0
starts to boot (previous behaviour looked for console=tty0 on
dom0's command line). To prevent this 'console=vga[keep]' must
be specified.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-06-20 18:51:46 +01:00
kaf24@firebug.cl.cam.ac.uk e72c35d964 [XEN] Fix to previous changeset: continue to do softirq while delaying.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-06-20 18:28:41 +01:00
kaf24@firebug.cl.cam.ac.uk 0cd98ba464 [XEN] Add a warning banner when 'sync_console' is used. Make it
very obvious and mildly annoying.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-06-20 18:19:07 +01:00
kaf24@firebug.cl.cam.ac.uk da6d8860b0 [XEN] Fix PAE PDPT shadowing coherence.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-06-20 17:04:13 +01:00
kfraser@dhcp93.uk.xensource.com 19c8828f4b Add new XENMEM_machphys_mapping to get info about location and
sizeof of the mach2phys table default mapping. Use this in Linux to
dynamically adapt the mfn_to_pfn() routine to undelrying hypervisor.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-06-20 14:45:46 +01:00
kfraser@dhcp93.uk.xensource.com 0f296e1985 [LINUX] Another fix to i386 mfn_to_pfn().
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-06-20 13:45:23 +01:00
kfraser@dhcp93.uk.xensource.com 2a2bc9fabb [LINUX] Fix i386 build -- define max_mapnr in mfn_to_pfn().
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-06-20 13:42:08 +01:00
emellor@leeni.uk.xensource.com 522884b8be Move the SSHTransport class to its own file, so that we may disable SSH
transport when running on Python <2.4.  SSHTransport uses the new subprocess
class, and so it doesn't work on older versions.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-06-20 13:32:21 +01:00
ack@localhost.localdomain 47966cbaaa Merge 2006-06-20 12:12:44 +01:00