Commit Graph
7772 Commits
Author SHA1 Message Date
emellor@leeni.uk.xensource.com 65052bf1d8 New location for code common to both netfront and netback, with the MAC parsing
pulled here.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-11 17:59:20 +01:00
emellor@leeni.uk.xensource.com 53ce8b9dd9 Don't call iptables if it is not installed. This code is only there to ensure
that packets between domU and the bridge are not firewalled, so if iptables is
not installed, then there is no worry.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-11 17:56:02 +01:00
emellor@leeni.uk.xensource.com aea7cae133 Fix function call syntax in vif-route and vif-nat.
Function calls in shell script should not contain parenthesis.

Signed-off-by: Murillo Fernandes Bernardes <mfb@br.ibm.com>
2005-11-11 17:04:17 +01:00
emellor@leeni.uk.xensource.com 5919178679 Merged. 2005-11-11 15:36:16 +01:00
emellor@leeni.uk.xensource.com 7c8b72ea79 Chmod a+x. 2005-11-11 15:36:07 +01:00
kaf24@firebug.cl.cam.ac.uk 7be6aca3ad Missed two files from NULL-pointer-check changeset.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-11-11 14:54:20 +01:00
kaf24@firebug.cl.cam.ac.uk f8e8438eef Remove unnecessary NULL checks before freeing memory blocks.
The following functions check for NULL internally:
 free, kfree, xfree, free_xenheap_page[s]

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-11-11 12:55:47 +01:00
kaf24@firebug.cl.cam.ac.uk 8b31a682c1 Fix application of OS patches to deal better with failure.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-11-11 11:16:46 +01:00
kaf24@firebug.cl.cam.ac.uk 284be486e4 Max xen skbuff allocation is now 64KB. kmem caches only
get populated with objects on first allocation, so if large
caches end up being unused, they don't actually cost us
very much.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-11-11 11:01:32 +01:00
kaf24@firebug.cl.cam.ac.uk 5aa99be215 Merge with xen-unstable-ia64.hg 2005-11-11 10:47:43 +01:00
kaf24@firebug.cl.cam.ac.uk ea475aded3 nloopbacks default is now 8. So vifnum of greater than 7 requires
an adjustment to nloopbacks. Warning comment updated.

Signed-off-by: Nivedita Singhvi (niv@us.ibm.com)
2005-11-11 10:46:36 +01:00
kaf24@firebug.cl.cam.ac.uk bfdcfc10bb Add MOVSX instr support to VMX MMIO decoder.
Signed-off-by: Xin Li <xin.b.li@intel.com>
2005-11-11 10:41:25 +01:00
kaf24@firebug.cl.cam.ac.uk 41317fc7d5 Remove unnecessary ifdef in defn of xprintk. Install
xenguest.h.
Signed-off-by: Joseph Cihula <joseph.cihula@intel.com>
2005-11-11 10:39:20 +01:00
djm@kirby.fc.hp.com 63e31364a3 Enable gcc3.4 with CONFIG_SMP (by Alex Williamson) 2005-11-10 15:24:29 -06:00
djm@kirby.fc.hp.com 5076bff75d Blkfront no longer built by default, need CONFIG_XEN_BLKDEV_FRONTEND 2005-11-10 14:02:01 -06:00
kaf24@firebug.cl.cam.ac.uk 0f6857b3cd Fix Linux fault.c indentation.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-11-10 19:43:56 +01:00
smh22@firebug.cl.cam.ac.uk 65dcdd1ffe Fix page-table dump on PAE with >4GB MFNs.
Signed-off-by: Steven Hand <steven@xensource.com>
2005-11-10 19:32:09 +01:00
kaf24@firebug.cl.cam.ac.uk a1a3cbee23 Merge with http://xenbits.xensource.com/ext/xen-unstable-docs.hg 2005-11-10 18:25:27 +01:00
djm@kirby.fc.hp.com 49c307a5b9 Merge 2005-11-10 10:51:37 -06:00
Robb Romans c43564b41a Add "Securing Xen" adapted from Anthony Liguori's Wiki entry. 2005-11-10 11:43:24 -05:00
Robb Romans 35034c2a4b A few doc cleanups. Replace bitkeeper with mercurial. 2005-11-10 11:42:58 -05:00
djm@kirby.fc.hp.com 46a39fbe37 Reflect various missing traps/faults (flagged with printf for now).
Without this building xen documentation crashes Xen!
Signed-off by: Dan Magenheimer <dan.magenheimer@hp.com>
2005-11-10 10:39:38 -06:00
Xiaofeng Ling 05fbb602ad This patch use same expression as vif for vmx guest but has a distinguish "type=ioemu"
just like block device.
e.g. vif=['type=ioemu, mac=01:00:00:00:00:33, bridge=xenbr0']
type=ioemu to specify for vmx NIC device.
nics=4 can specify 4 vmx NIC now.
bridge is passed to device model now.
With this patch, the error
"Error: Device 0 (vif) could not be connected."
will not happen for creating vmx guest
currently, it happens on some linux distribution.

Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
2005-11-10 17:07:13 +01:00
emellor@leeni.uk.xensource.com 67b5c8dbca Removed autogenerated file.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-10 16:59:51 +01:00
emellor@leeni.uk.xensource.com a22a20e2bb Fix the log reopening by moving the code with all the races out of the signal
handler and into the main loop.  The "self-pipe trick" is used to awaken the
select() call on SIGHUP.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-10 16:20:27 +01:00
djm@kirby.fc.hp.com cab735cf69 Fix typo 2005-11-10 09:07:47 -06:00
djm@kirby.fc.hp.com 093551c035 Merge latest xen-unstable into xen-ia64-unstable 2005-11-10 08:34:09 -06:00
djm@kirby.fc.hp.com 0add1f8a92 Adapt to new evtchn interfaces.
Signed-off-by Kevin Tian <kevin.tian@intel.com>
2005-11-10 08:18:25 -06:00
kaf24@firebug.cl.cam.ac.uk 4440e29b50 Indirect writes to phys_to_machine_mapping array through an inline
function defined in page.h.

For self-migration, I need the ability to trap writes to the p2m map
during migration, because I keep a dictionary mapping mfns to pfns,
which I use for remapping the page tables once I am on the other side.

Signed-off-by: Jacob Gorm Hansen <jacobg@diku.dk>
2005-11-10 15:16:01 +01:00
djm@kirby.fc.hp.com 69c6d67950 Back out partial fix in ia64-unstable 7665/7/8, breaks Debian boot 2005-11-10 08:10:18 -06:00
kaf24@firebug.cl.cam.ac.uk df1231853e When creating exception/interrupt stack frames for a guest,
set saved eflags.IF to !saved_upcall_mask. This allows the
guest to test interrupts-enabled in the interrupted context
in the same way as when running natively.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-11-10 15:03:33 +01:00
kaf24@firebug.cl.cam.ac.uk 5a9c321a8e This patch fix some issue on masked interrupt:
1) check the mask setting on vmx_vioapic_do_irqs and
ioapic_get_highest_irq
2) Place mask info to a seperated data structure, and access it
atomically

Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
2005-11-10 12:12:00 +01:00
kaf24@firebug.cl.cam.ac.uk 76bebddcdf Fix IPI handling before vcpu launched
When sending IPI, the target vcpu may not be launched (like
INIT/Start-Up IPI), and the local apic is not initialized. Fix handling
on such case.

Also fix one bug in apic_round_robin function.

Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Xin Li <xin.b.li@intel.com>
2005-11-10 12:11:39 +01:00
kaf24@firebug.cl.cam.ac.uk 2dd84649de For vmx domain, because shadow_mode_reference is set later in
vmx_final_setup_guest, so in arch_set_info_guest, the phys_basetab
is not do get_page, while when destroying, put_page is called,
so there is one page, the count=-1, and when a new domain allocate
this page, it will take it as cpumask 0xffffffff, this cause flash_tlb_mask
goes into dead loop.
This patch also eliminate the warning when creating vmx guest:
(XEN) Audit 1: type count went below zero mfn=1e03d t=f0000000 ot=3654b

Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
Signed-off-by: Xin Li        <xin.b.li@intel.com>
2005-11-10 12:09:17 +01:00
kaf24@firebug.cl.cam.ac.uk 6c48136bc4 Add some minor defensive coding/error handling in xc_vmx_build.c like
C/S 7687

Signed-off-by: Haifeng Xue <haifeng.xue@intel.com>
Signed-off-by: Xin Li <xin.b.li@intel.com>
2005-11-10 12:06:50 +01:00
kaf24@firebug.cl.cam.ac.uk 05ef2f2ffd merge 2005-11-10 12:05:22 +01:00
kaf24@firebug.cl.cam.ac.uk a3dde685e8 Enable xm console for vmx guest.
When the serial port is redirect to pty, write the allocated
device to xenstore, then xm console can get it.
TODO:serial port by pty shall not block if there are no reading
on the other end

Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
2005-11-10 12:04:29 +01:00
kaf24@firebug.cl.cam.ac.uk 07ac741579 Fix some more bugs in pygrub including:
a) a couple of variables were referenced wrong
b) fix using arrow keys in the menu to act correctly
c) and look for grub config properly for /boot partition

Signed-off-by: Jeremy Katz <katzj@redhat.com>
2005-11-10 12:01:15 +01:00
emellor@leeni.uk.xensource.com bd171667cc Merged. 2005-11-10 12:00:39 +01:00
emellor@leeni.uk.xensource.com 4bfcb7baff Various chmod a+x.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-10 12:00:09 +01:00
kaf24@firebug.cl.cam.ac.uk b63ab24496 Attached patch fixes a thinko in pygrub's setup.py
Signed-off-by: Jeremy Katz <katzj@redhat.com>
2005-11-10 11:59:49 +01:00
kaf24@firebug.cl.cam.ac.uk 79d289ec5f Enable export of set_nmi_callback in suitably priv 64-bit doms.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-11-10 11:58:39 +01:00
kaf24@firebug.cl.cam.ac.uk b976b8510a Updates comments in network-bridge, removes dead code, minor typo fixes.
Signed-off-by: Nivedita Singhvi <niv@us.ibm.com>
2005-11-10 11:53:51 +01:00
danms@us.ibm.com ad0262669d Modularize runtest.sh and add a quick option.
I broke up runtest.sh into functions which makes it easier to alter its
behavior.  Now, we can easily re-submit a previously-run test report.
2005-11-10 11:48:05 +01:00
danms@us.ibm.com 5b72611469 Make the 04_restore test verify that two block devices and two nics are
restored to a working state and that the nics retain their configuration.
2005-11-10 11:48:05 +01:00
danms@us.ibm.com f038fab290 Remove this accidental commit 2005-11-10 11:48:05 +01:00
dan@guaranine.beaverton.ibm.com 380276648e Tweak the usage of mke2fs to be quiet, so that the XML reports
contain less garbage
2005-11-10 11:47:38 +01:00
danms@us.ibm.com 9aca986cfd Add this file that wasn't in the tarball for the initial import 2005-11-10 11:47:34 +01:00
danms@us.ibm.com c997e4cd9c Remove semicolons from Console.py. It's a habit. 2005-11-10 11:47:27 +01:00
emellor@leeni.uk.xensource.com 2b7a829bc9 Merged. 2005-11-10 11:43:26 +01:00