aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update QEMU_TAG to xen-4.1.0-rc34.1.0-rc3Ian Jackson2011-01-311-1/+1
|
* libxc: Do not use dom0 physmem as parameter to lzma decoderIan Jackson2011-01-284-46/+1
| | | | | | | | | | | | | | | | | | It's not clear why a userspace lzma decode would want to use that particular value, what bearing it has on anything or why it would assume it could use 1/3 of the total RAM in the system (potentially quite a large amount of RAM) as opposed to any other limit number. Instead, hardcode 32Mby. This reverts 22830:c80960244942, removes the xc_get_physmem/physmem function entirely, and replaces the expression at the call site with a fixed constant. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> Acked-by: Ian Campbell <Ian.Campbell@eu.citrix.com> Cc: Christoph Egger <Christoph.Egger@amd.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* libxl: prevent creation of domains with duplicate namesIan Jackson2011-01-282-0/+23
| | | | | | | | | | | | | | libxl_domain_rename is where domain names are assigned. Therefore this is where we check that no two domains have the same name. As a special exception, domains whose names are "" are not considered to clash. We also take special care not to mind if we try to rename a domain to the name it already has. Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com> Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* libxl: during domain destruction, do not complain if no devices dir to destroyIan Jackson2011-01-281-2/+6
| | | | | | | | | | | | | | | | | Previously calling libxl__devices_destroy on a half-constructed or half-destroyed domain would sometimes complain along these lines: libxl: error: libxl_device.c:327:libxl__devices_destroy /local/domain/29/device is empty This is (a) not a reasonable thing to complain about and (b) not an accurate description of all the things that that particular failure of libxl__xs_directory might mean. Change the code to check errno, so that if errno==ENOENT we silently continue, not destroying any devices, and if errno!=ENOENT, properly log the problem and fail. Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com> Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* libxl: internals: document the error behaviour of various libxl__xs_* functionsIan Jackson2011-01-281-2/+10
| | | | | | | | | | | | | | Many of the functions in libxl_xshelp.c simply return 0 on error, and leave the errno value from xenstore in errno. Document this more clearly. Also fix a >75 column line. No functional change. Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com> Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* libxl, xl: fixes to domain creation cleanup logic (domid values)Ian Jackson2011-01-284-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libxl__domain_make makes some assumptions about the way its caller treats its uint32_t *domid parameter: specifically, if it fails it may have partially created the domain and it does not every destroy it. But it does not initialise it. Document this assumption in a comment, and assert on entry that domid not a guest domain id, to ensure that the caller has properly initialised it. Introduce a function libxl_domid_valid_guest to help with this. This is not intended to produce any practical functional change in current code. Secondly, libxl_create_stubdom calls libxl__domain_make and has no code to tear down the domain again on error. This is complicated to fix (since it may even be possible for the the domain to be left in a state where it's not possible to tell that it was going to be a stubdom for some other domain). So for now simply leave a fixme comment. Finally, in 22739:d839631b6048 we introduced "-1" as a sentinel "no such domain" value for domid. However, domid is a uint32 so testing it with "if (domid > 0)" as we do in 22740:ce208811f540 is wrong because it always triggers. Instead use libxl_domid_valid_guest. This fix means that that if "xl create" fails, it will not try to destroy the domain "-1". Previously you'd see this message: libxl: error: libxl.c:697:libxl_domain_destroy non-existant domain -1 whose "-1" many readers may have thought was an error code, but which is actually supposedly a domain id. Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com> Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* libxl: fix error handling (xenstore transaction leak) in libxl__domain_makeIan Jackson2011-01-281-20/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | libxl__domain_make could under some circumstances leak the xenstore transaction (stored in the variable t). Also, failures to commit the xenstore transaction for reasons other than EAGAIN would be ignored (!) Fix this as follows: * Initialise t to 0 (not a valid transaction id), and when the transaction is successfully committed or rolled back, reset it. * Change all the instances of: libxl__free_all(&gc); return error; to instead do: rc=error; goto out; * Use the out stanza for exiting, setting rc=0 on success first. * Explicitly abort the transaction in the out stanza. Also add a note by the calls manipulating the gc, to note that as this is an internal function, the gc should really be set up and destroyed by its caller. But let's not do that at this stage of the 4.1 release cycle. Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com> Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* xl: fix incorrect display of illegal option characterAndre Przywara2011-01-281-35/+35
| | | | | | | | | | | | | | | | | | | | | | | according to the getopt(3) manpage (and to my testing) getopt returns '?' if an unknown option character is found and stores the insulting character in optopt. This patch fixes the broken output in such a situation: root@dosorca:/data/images# xl vcpu-list -j option `?' not supported. Name ID VCPU CPU State Time(s) CPU Affinity Domain-0 0 0 0 -b- 193.1 any cpu turns into: root@dosorca:/data/images# xl vcpu-list -j option `j' not supported. Name ID VCPU CPU State Time(s) CPU Affinity Domain-0 0 0 0 -b- 193.1 any cpu Signed-off-by: Andre Przywara <andre.przywara@amd.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* xl: fix xl cpupool-list <poolid>Andre Przywara2011-01-281-1/+1
| | | | | | | | | | | | | The help screen of xl cpupool-list promises to allow a CPU pool to be named on the command line, which will then be listed only. Probably caused by a "DeMorgan brain twist" this specific CPU pool is _omitted_ instead. The patch fixes this, so single CPU pools can be explicitly listed again. Signed-off-by: Andre Przywara <andre.przywara@amd.com> Acked-by: Juergen Gross <juergen.gross@ts.fujitsu.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* xl: remove unimplemented -l stub for cpupool-listAndre Przywara2011-01-282-12/+6
| | | | | | | | | | | | Although advertised via the usage output, xl cpupool-list -l just returns ERROR_NI, which does not show up on the console. Instead the output is empty, which is not exactly what --long hints to. To avoid confusion remove the line from the help output and just ignore the -l option properly until it gets finally implemented. Signed-off-by: Andre Przywara <andre.przywara@amd.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* xl: fix broken cpupool-numa-splitJuergen Gross2011-01-281-1/+1
| | | | | | | | | | | The implementation of xl cpupool-numa-split is broken. It adds nodes to the wrong pool. This was probably a copy and paste error which happened when libxl_cpupool_cpuadd_node() was introduced. Reported-by: Andre Przywara <andre.przywara@amd.com> Signed-off-by: Juergen Gross <juergen.gross@ts.fujitsu.com> Acked-by: George Dunlap <george.dunlap@citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* libxl: when using pygrub, do not segfault if no blktapStefano Stabellini2011-01-281-4/+13
| | | | | | | | | | | | | | | | | | | | | Running xl create configfile where configfile includes the lines bootloader = "/usr/bin/pygrub" disk = [ 'file:/dev/mapper/vg0-partname,xvda1,w' ] then xl segfaults at the line ret = strdup(dev); of libxl_device_disk_local_attach() in tools/libxl/libxl.c . The problem is that dev is not set if libxl__blktap_enabled(&gc) is false or if phystype isn't recognized. In the latter case we want to skip that line and return NULL, but if libxl__blktap_enabled(&gc) is false we should be returning something, at least in the cases where the device has a name in the host which we can just refer to. Also improve the error message when QCOW or QCOW2 are specified, and avoid using an uninitialised value of "ret". Signed-off-by: M A Young <m.a.young@durham.ac.uk> Signed-off-by: Stefano Stabellini <Stefano.Stabellini@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* libxl: correct error path in libxl_userdata_retrieveIan Jackson2011-01-282-2/+5
| | | | | | | | | | | | | Firstly, if libxl_read_file_contents fails, it doesn't really leave *data and *datalen_r undefined - it leaves them unchanged. Tighten up the spec for the benefit of libxl_userdata_retrieve. Secondly, libxl_userdata_retrieve ignored errors, assuming they were all ENOENT. Instead it should fail on unexpected errors. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> Acked-by: Jim Fehlig <jfehlig@novell.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* tools/libxc, hvm: Fix 1G page allocation algorithmShan Haitao2011-01-281-11/+13
| | | | | | | | | | | | | | | | | | Currently, cur_pages (which is used as index into page_array for fetching gfns) is used to judge whether it is proper here to allocated 1G pages. However, cur_pages == page_array[cur_pages] only holds true when it is below 4G. When it is above 4G, page_array[cur_pages] - cur_pages = 256M. As a result, when guest has 10G memory, 8 1G-pages are allocated. But only 2 of them have their corresponding gfns 1G aligned. The other 6 are forced to split to 2M pages, as their starting gfns are 4G+256M, 5G+256M ................. Inside the patch, true gfns are used instead of cur_pages to fix this issue. Signed-off-by: Shan Haitao <haitao.shan@intel.com> Acked-by: George Dunlap <george.dunlap@citrix.com>
* amd iommu: Fix x86_32 build.Keir Fraser2011-01-281-1/+1
| | | | Signed-off-by: Keir Fraser <keir@xen.org>
* tools/security: Adjust secpol_tool.c for change to xc_interface_openDaniel Kiper2011-01-271-3/+3
| | | | | | | | | | | | | xc_interface_open() was called with improper number of arguments. It is fixed by this patch. This appears to have been missed by 21483:779c0ef9682c. The interface change also included the return type (int->xc_interface *) but that was already covered in 21483. Acked-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: Daniel Kiper <dkiper@net-space.pl> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* Config.mk: commented-out CONFIG_QEMU example now uses `pwd`/$(XEN_ROOT)Ian Jackson2011-01-271-1/+1
| | | | | | | | | | | | If you actually set it to a relative path, the qemu build breaks. So this commented-out rune (an example) should arrange to be absolute. Unfortunately XEN_ROOT is itself relative so the previous attempt to fix this (22772:654563af359f) didn't work. So use `pwd`. Tested-by: M A Young <m.a.young@durham.ac.uk> Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* libxc: break xc_get_physmem out into os-dependent filesChristoph Egger2011-01-274-22/+46
| | | | | | | | | | | NetBSD doesn't have sysconf(_SC_PHYS_PAGES). Factor physmem() out into os-dependent files and rename it to xc_get_physmem() so as not to pollute the namespace. Signed-off-by: Christoph Egger <Christoph.Egger@amd.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* xl: Revert "xl: avoid creating domains with duplicate names"Ian Jackson2011-01-271-10/+0
| | | | | | | | | This reverts commit 22820:310cc33bfc81. This functionality should not be in the domain parsing logic. It needs to be in libxl_domain_make. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> Acked-by: Stefano Stabellini <Stefano.Stabellini@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* hvm: allow pass-through of new FPU/ALU CPUID featuresKeir Fraser2011-01-274-1/+11
| | | | | | | | | there are some new CPUID features that are safe for guests to see, as they don't require OS awareness (FPU/ALU related instructions only). Among features for new AMD CPUs there is also the PCLMULQDQ bit, which Intel CPU have already for quite a while. Signed-off-by: Andre Przywara <andre.przywara@amd.com>
* amd iommu: reduce io page level for hvm guest (3/3)Wei Wang2011-01-271-36/+25
| | | | | | | Clean up invalidate_iommu_page function. Make it suitable for variable page sizes and can be reused by invalidate_all_iommu_pages. Signed-off-by: Wei Wang <wei.wang2@amd.com>
* amd iommu: reduce io page level for hvm guest (2/3)Wei Wang2011-01-271-26/+14
| | | | | | | Clean up amd_iommu_reserve_domain_unity_map function to reduce code duplication. Signed-off-by: Wei Wang <wei.wang2@amd.com>
* amd iommu: reduce io page level for hvm guest (1/3)Wei Wang2011-01-272-6/+11
| | | | | | | | Since in most case, 2 or 3 - level IO page tables are sufficient, this patch updates page table level for device assignment to reduces overhead of dma translation Signed-off-by: Wei Wang <wei.wang2@amd.com>
* libxc: provide XENCTRL_HAS_XC_INTERFACE feature test macroIan Jackson2011-01-271-0/+10
| | | | | | | | | This makes it easier for out-of-tree callers to tell which version of the libxc interface this version of xenctrl.h provides. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> Acked-by: Ian Campbell <Ian.Campbell@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* vtd: Fix for irq bind failure after PCI attaching 32 timesFengzhe Zhang2011-01-271-1/+0
| | | | | | | | | | | Originally when detaching a PCI device, pirq_to_emuirq and pirq_to_irq are freed via hypercall do_physdev_op. Now in function pt_irq_destroy_bind_vtd, duplicated logic is added to free pirq_to_emuirq, but not pirq_to_irq. This causes do_physdev_op fail to free both emuirq and irq. After attaching a PCI device for 32 times, irq resources run out. This patch removes the redundant logic. Signed-off-by: Fengzhe Zhang <fengzhe.zhang@intel.com>
* minios: Fix bug/build problem introduced in c/s 22799John Weekes2011-01-271-3/+3
| | | | | | | | With "debug=n", "make stubdom" currently fails in xen-unstable. This patch addresses this through minor fixups. Signed-off-by: John Weekes <lists.xen@nuclearfallout.net> Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
* libxl: rename xenstored pid file on LinuxChristoph Egger2011-01-262-2/+2
| | | | | | | | | | | | | | | | | | | | | | Changset 22806:eefb8e971be5 broke 'xl'. After starting the xenstored, xenconsoled, xenbackendd and running xl create I get this: libxl: error: libxl.c:53:libxl_ctx_init Is xenstore daemon running? failed to stat /var/run/xenstore.pid: No such file or directory cannot init xl context The reason for the failure is that the NetBSD startup script creates the file /var/run/xenstored.pid but libxl checks for /var/run/xenstore.pid Attached patch makes this consistent across Linux and NetBSD by changing the Linux name (to the more-conventional food.pid form). Signed-off-by: Christoph Egger <Christoph.Egger@amd.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* xl: avoid creating domains with duplicate namesIan Jackson2011-01-261-0/+10
| | | | | | | | | | | | Do not create the domain if another domain with the same name is already running. This is another error-checking function at rather too high a level: this should be moved into libxl_domain_rename in 4.2. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* libxl: band-aid for functions which return literal "-1"Ian Jackson2011-01-262-10/+11
| | | | | | | | | | | | | | | Many libxl functions erroneously return "-1" on error, rather than some ERROR_* value. To deal with this, invent a new ERROR_NONSPECIFIC "-1" which indicates that "the function which generated this error code is broken". Fix up the one we care about for forthcoming duplicate domain detection (libxl_name_to_domid) and the others following the same pattern nearby; leave the rest for post-4.1. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
* libxl: only check size of regular files when validating a virtual diskIan Campbell2011-01-261-1/+1
| | | | | | | | st_size is only valid for regular files and not block devices. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* x86: physdev_[un]map_pirq() use rcu_lock_target_domain_by_id().Keir Fraser2011-01-261-13/+6
| | | | | | | | | More idiomatic, and avoids accidental failure to check caller privilege. For example, the unmap path was not checking for any privilege before calling unmap_domain_pirq_emuirq(), which can't be right. Signed-off-by: Keir Fraser <keir@xen.org>
* x86: Fix pirq teardown on domain destruction.Wei Gang2011-01-261-3/+0
| | | | | | | | | The privilege check in unmap_domain_pirq() fails since the teardown completes in RCU (idle domain) context. We can remove the check since it is covered in physdev_op() already, which is the only potentially unprivileged caller. Signed-off-by: Wei Gang <gang.wei@intel.com>
* x86: blacklist new AMD CPUID bits for PV domainsKeir Fraser2011-01-262-0/+10
| | | | | | | | | | | | there are some new CPUID bits (and leaves) which Dom0 and PV domains should not see to avoid trouble, since we don't emulate the features. The most prominent one is a topology leaf, which contains information specific to the physical CPU, not the virtual one. To avoid confusion (and possibly crashes) due to a confused Dom0 scheduler simply disable these bits. Signed-off-by: Andre Przywara <andre.przywara@amd.com> Signed-off-by: Keir Fraser <keir@xen.org>
* x86: Do not pollute namespace with asm defns of PERFC_*.Keir Fraser2011-01-267-11/+11
| | | | | | This fixes the build with perfc=y. Signed-off-by: Keir Fraser <keir@xen.org>
* amd iommu: Fix output and coding styleKeir Fraser2011-01-266-68/+72
| | | | Signed-off-by: Wei Wang <wei.wang2@amd.com>
* xl: Check domain existance when doing domain identifier lookupsGianni Tedesco2011-01-251-3/+17
| | | | | | | | | [ Code formatting fixed up to conform to libxl style. -iwj ] Signed-off-by: Gianni Tedesco <gianni.tedesco@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* xl: fix up some minor mistakes in error messagesIan Jackson2011-01-251-4/+4
| | | | | | | | | perl -i~ -pe 's/\\n.\"/\\n\"/' tools/libxl/*.c Reported-by: Gianni Tedesco <gianni.tedesco@citrix.com> Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> Acked-by: Gianni Tedesco <gianni.tedesco@citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* libxl: fix segfault on device assignementStefano Stabellini2011-01-251-1/+1
| | | | | | | | | | Fix a xl/libxl segfault when assigning a device to the guest (bug http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1713). Signed-off-by: Gianni Tedesco <gianni.tedesco@citrix.com> Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* xl: Perform minimal validation of virtual disk file while parsing config fileKamala Narasimhan2011-01-251-0/+29
| | | | | | | | | | | | | | This patch performs some very basic validation on the virtual disk file passed through the config file. This validation ensures that we don't go too far with the initialization like spawn qemu and more while there could be some potentially fundamental issues. [ Patch fixed up to work with PHYSTYPE_EMPTY 22808:6ec61438713a -iwj ] Signed-off-by: Kamala Narasimhan <kamala.narasimhan@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* libxl/xl: support empty disk paths (ejected cdroms)Stefano Stabellini2011-01-254-6/+16
| | | | | | | | | | Support empty disk paths, including in domain config files, for compatibility with xend. This allows a domain to be created with a cdrom which is initially in the "ejected" (no cd present) state. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* libxl: Check a domain exists before destroying itGianni Tedesco2011-01-251-0/+11
| | | | | | Signed-off-by: Gianni Tedesco <gianni.tedesco@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* libxl: libxl_ctx_init checks for xenstored pid fileKamala Narasimhan2011-01-252-0/+9
| | | | | | | | | | This is a proxy for whether xenstored is running. Otherwise the failure modes are unfortunate (hangs, or mysterious error messages). If and when we have a stubdom xenstored this will need to be revisited, if not before. Signed-off-by: Kamala Narasimhan <kamala.narasimhan@citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* tools/hotplug/Linux: fix completely wrong attempts to stop xenwatchdogduser virtual2011-01-251-4/+5
| | | | | | | | | | | "xen-watchdog stop" attempts to kill non existing "watchdogd" but misses the running "xenwatchdogd". This also provokes errors during install and Debian package management. Signed-off-by: user virtual <virtualusr@gmail.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* Update Xen version to 4.1.0-rc3-preKeir Fraser2011-01-251-1/+1
|
* Added signature for changeset 9dca60d88c63Keir Fraser2011-01-251-0/+1
|
* Added tag 4.1.0-rc2 for changeset 9dca60d88c63Keir Fraser2011-01-251-0/+1
|
* Update Xen version to 4.1.0-rc24.1.0-rc2Keir Fraser2011-01-252-2/+3
|
* x86/tsc: remove misleading printk on HVM restore path.Keir Fraser2011-01-251-5/+0
| | | | | | This warning no longer corresponds to what the code actually does. Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
* libxl, minios: stubdom console based save/restoreStefano Stabellini2011-01-216-17/+104
| | | | | | | | | | | | | | | | Add two "special" PV consoles to stubdoms that are going to be used to send and receive the qemu-xen save files on save/restore. Use the second PV console to send the qemu-xen save file and the third PV console to receive the qemu-xen save file on restore. Fix the console shutdown function free_consfront that is called when the qemu save file is closed. Stubdom save/restore is still broken with xend. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* QEMU_TAG updateIan Jackson2011-01-211-3/+3
|