Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-2.0-testing.bk
Python packages can be installed to the Python installation's 'native'
location, instead of generic /usr/lib/python, by specifying
XEN_PYTHON_NATIVE_INSTALL in the environment or on the make command line.
Signed-off-by: Keir Fraser <keir@xensource.com>
[PATCH] add-build.patch
Add build targets to all makefiles. Debian does builds as non-root, so
it's better to do as much as possible before requiring root privs.
Signed-off-by: Adam Heath <doogie@brainfood.com>
[PATCH] [PATCH] gcc4isms part 2
This completes the gcc4ism changes to the Xen tree. All of
the changes in this patch are in the tools/ subdirectory and
are pretty simple. Some of the changes are for overly strict
gcc4 warnings, but I guess it's still good to verify that the
variable really wasn't unused, or that the sign change is
really harmless.
I guess I really do like -Werror now...
Signed-off-by: Rik van Riel <riel@redhat.com>
libxc/xc_linux_build.c | 2 +-
libxc/xc_plan9_build.c | 24 ++++++++++++------------
libxc/xc_vmx_build.c | 2 +-
python/xen/lowlevel/xu/xu.c | 2 +-
xcs/xcs.c | 2 +-
xfrd/lzi_stream.c | 2 +-
xfrd/marshal.c | 4 ++--
xfrd/xdr.c | 2 +-
xfrd/xfrd.c | 12 ++++++------
9 files changed, 26 insertions(+), 26 deletions(-)
Fix the synchronization issues between xend and the device model at
startup time.
Initialize the shared page in the hypervisor. Otherwise, the hypervisor
might try to inject spurious interrupts into the guest due to
uninitialized data.
Signed-off-by: Xin B Li <xin.b.li@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
Initial checkin of blktap user-land tools. These are fairly experimental,
but a few people have asked to use them. This checkin also includes
Christian's gnbd client library code.
Signed-off-by: andrew.warfield@cl.cam.ac.uk
This very simple patch is really just cosmetic. It "fixes" xend so that
it doesn't report restart as: "WARNING (XendDomainInfo:1038) Unknown
config field restart" in the xend.log. I'm not sure who should sign off
on this, but the patch is attached.
From: "B.G. Bruce" <bgb@nt-nv.com>
Signed-off-by: ian@xensource.com
Right now, the memory for the 1:1 physical mode page tables comes from the
VMX domain's memory. With this change, when the user asks for a domain with
M Megabytes of memory, we actually allocate M+N megabytes in xend, where
N is the memory for the page table pages.
This simplifies the code in the device models that maps guest memory (we
now map all of it) and the E820 map can also give the full M megabytes to
the guest.
Signed-off-by: Xin B Li <xin.b.li@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
Allow specification of backend vif MAC addresses. If a backend
MAC is not provided, generate one as before
Signed-off-by: Jody Belka <knew-xen@pimb.org>
Signed-off-by: ian.pratt@cl.cam.ac.uk
Fix the device number calculation for /dev/hd* device names;
ide device numbering works differently to scsi
Signed-off-by: Jody Belka <knew-xen@pimb.org>
Signed-off-by: ian.pratt@cl.cam.ac.uk
Description: use DESTDIR correctly
Standard makefiles always attempt to install to the root(/). Setting
DESTDIR is the normal way to install to an alternative location.
Setting prefix has the possibility of breaking programs, as the prefix
may have been embedded inside a compiled binary.
From: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
Support for USB virtualisation. Adds the USB frontend / backend, update build options,
make the control tools understand USB interfaces.
One extra file from vanilla Linux is imported (linux-2.4.28-xen-sparse/drivers/usb/hcd.c)
because small changes were required to make XenU domains build with a USB frontend. This
will not be required for the revised host controller infrastructure in Linux 2.6.
To use this, set "usb = " a list of USB ports in the domain config file. Ports are
specified as a path, e.g. '1' = the first USB port on the host, '1/2' is the second port
on the hub on the first host port, etc.
Should work for most mass storage and isochronous devices. May work for some HID devices
but these are not as intelligent and may have trouble supporting virtualisation.
Add an optional parameter (vcpus) to the xc_linux_build function replacing
the getenv() previously used and removing the requirement of using maxcpus
kernel parameter to limit the number of virtual cpus a guest uses. The value
can now be controlled in the domain configuration files.
The default value of 1 is set in XenDomainInfo.py but is overridden by
parsing the config value.
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into labyrinth.cl.cam.ac.uk:/auto/anfs/scratch/labyrinth/iap10/xeno-clone/xen-unstable.bk
Symptom:
When using a udev-based dom0, if you try to create a domU with a virtual
sda device and you do not have a local scsi device xm create fails.
Fix:
When using udev, only the device nodes needed are made. The follow
patch changes Xend to return a device number based on:
http://www.lanana.org/docs/device-list/devices.txt
For sd and hd devices if stat() fails. It was tested against both 2.0.2
and 2.0.3.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>