aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | * Move definition of xc and xend to avoid confusing pylint.emellor@ewan2005-09-181-2/+8
| | | | | | | | | | | | | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
| | * Renamed XendDomainInfo.getTargetMemory to getMemoryTarget, for consistency withemellor@ewan2005-09-183-4/+4
| | | | | | | | | | | | | | | | | | | | | XendDomainInfo.setMemoryTarget. Signed-off-by: Ewan Mellor <ewan@xensource.com>
| | * Replaced the device handling mechanism used by XendDomainInfo. Superficially,emellor@ewan2005-09-189-1541/+393
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this looks like the resurrection of DevController from controller.py, but the mechanism is actually very different. Device handling is now stateless inside xend, relying on the store for state management, reducing DevController instances to one-shot lifetimes. Dev and its subclasses have gone completely. The device creation code itself has moved from XendDomainInfo.createDevice into DevController subclasses, and the previous contents of the subclasses has been discarded (these subclasses were no longer being called, so all this code was dead). XendDomainInfo.getDeviceIds has gone, as it was unused. XendDomainInfo.delete_device has been subsumed by XendDomainInfo.destroyDevice; since device handling is now stateless inside xend, the distinction between device 'deletion' and device 'destruction' is meaningless. The s-expression describing devices has gone, as this information is no longer available to xend in the same way, and seems to be unused. If it is required, it can be reinstated by loading device information from Xen or the store. Signed-off-by: Ewan Mellor <ewan@xensource.com>
| | * Add behaviour to the remove methods to remove the transaction's path itself. ↵emellor@ewan2005-09-181-3/+12
| | | | | | | | | | | | This allows us to write Remove(path) to remove the specified path rather than having to slice the path ourselves.
| | * In all cases, move the creation of a new transaction outside of the blockemellor@ewan2005-09-181-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | handling exceptions raised inside that transaction. If the creation (start) of the transaction fails, then t has not been assigned, and in any case no transaction has been created, so it is wrong to attempt to abort that (non-existent) transaction. Signed-off-by: Ewan Mellor <ewan@xensource.com>
| | * Remove assignment to unused field memory_target.emellor@ewan2005-09-171-1/+0
| | | | | | | | | | | | | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
| | * Use XendDomainInfo.getDomain, getName to decouple XendDomain from the internalsemellor@ewan2005-09-171-46/+61
| | | | | | | | | | | | | | | | | | | | | of XendDomainInfo, prior to changing those internals. Signed-off-by: Ewan Mellor <ewan@xensource.com>
| | * Remove unused restoreFromDB, saveToDB.emellor@ewan2005-09-171-39/+0
| | | | | | | | | | | | | | | Signed-off-by: Ewan Mellor <ewan@xensource.com>
| | * Replace XendDomainInfo.setStoreChannel with XendDomainInfo.closeStoreChannel.emellor@ewan2005-09-172-12/+16
| | | | | | | | | | | | | | | | | | | | | | | | setStoreChannel was only ever called with channel=None (implying that the current channel would be closed) so the other code there was superfluous. Signed-off-by: Ewan Mellor<ewan@xensource.com>
| | * Added getVCpuCount to XendDomainInfo and use that and getName, getDomain, emellor@ewan2005-09-172-16/+25
| | | | | | | | | | | | | | | | | | | | | | | | getTargetMemory inside image.py to decouple the latter from the internals of the former. Move the definition of xc inside image.py to please pylint. Signed-off-by: Ewan Mellor<ewan@xensource.com>
| | * Fix indentation.emellor@ewan2005-09-171-6/+6
| | |
| | * Added getTargetMemory, getSsidref methods to XendDomainInfo, and use these andemellor@ewan2005-09-172-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | getDomain, getName in SrvDomainDir, to decouple the latter from the internals of the former, in preparation for changes internal to XendDomainInfo. Signed-off-by: Ewan Mellor<ewan@xensource.com>
| | * Issue warning if doxygen is not installed.emellor@ewan2005-09-171-2/+3
| | | | | | | | | | | | | | | Signed-off-by: Ewan Mellor<ewan@xensource.com>
| | * Changed ssidref default to 0 when parsing config file.emellor@ewan2005-09-171-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Ewan Mellor<ewan@xensource.com>
| | * Added diagnostic message to exception when TypeError occurs on write.emellor@ewan2005-09-171-1/+6
| | |
| | * Removed unused getDB method.emellor@ewan2005-09-171-3/+0
| | | | | | | | | | | | | | | Signed-off-by: Ewan Mellor<ewan@xensource.com>
| | * Moved xroot variable to not confuse pylint (and me).emellor@ewan2005-09-171-1/+5
| | | | | | | | | | | | | | | Signed-off-by: Ewan Mellor<ewan@xensource.com>
| | * Removed unused impotr and marked some parameters as unused.emellor@ewan2005-09-171-4/+3
| | | | | | | | | | | | | | | Signed-off-by: Ewan Mellor<ewan@xensource.com>
| | * Rename feilds to fields throughout.emellor@ewan2005-09-171-10/+10
| | | | | | | | | | | | | | | Signed-off-by: Ewan Mellor<ewan@xensource.com>
| | * Remove unused import, and unused class TwistedAdapter. Mark one variable asemellor@ewan2005-09-171-10/+2
| | | | | | | | | | | | | | | | | | | | | unused. Signed-off-by: Ewan Mellor<ewan@xensource.com>
| | * Added _1,.._5 to dummy-variables, so that we can specify multiple unusedemellor@ewan2005-09-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | parameters in our code. Removed map and filter from bad-functions - I don't think that we have any problem with functional programming styles! Signed-off-by: Ewan Mellor<ewan@xensource.com>
| * | Fix VMX domains not cleaning up properly, since some page refncts arekaf24@firebug.cl.cam.ac.uk2005-09-192-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | not zero. One reason for this is that in function shadow_set_l1e(), before calling function shadow_update_min_max(), one should call __shadow_get_sl2e() again, since the sl2 entry may be changed. Signed-off-by: Xin Xiaohui <Xiaohui.xin@intel.com> Signed-off-by: Li Chengyuan <Chengyuan.li@intel.com>
| * | The domain structure maintains several shadow mode stats,kaf24@firebug.cl.cam.ac.uk2005-09-192-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | such as shadow page counts for l1 & l2, hl2 tables, snapshots, etc. These counts are not decremented properly when we free shadow pages. The following patch fixes this problem. Signed-off-by: Khoa Huynh <khoa@us.ibm.com>
| * | Trivial gdb build fix from Leendert.kaf24@firebug.cl.cam.ac.uk2005-09-182-2/+2
| |/
| * Small cleanup to tpm split driver.kaf24@firebug.cl.cam.ac.uk2005-09-172-2/+0
| | | | | | | | | | | | Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
| * Remove native tpm drivers from the linux sparse tree and replacekaf24@firebug.cl.cam.ac.uk2005-09-175-1316/+74
| | | | | | | | | | | | | | | | with minimal patch in the automatically-applied patches/ directory. Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
| * Cleanup domain listing on xend start. Fix reaper some more.cl349@firebug.cl.cam.ac.uk2005-09-162-65/+64
| | | | | | | | | | Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
| * Add bindings for xs_get_domain_path().cl349@firebug.cl.cam.ac.uk2005-09-162-0/+46
| | | | | | | | | | Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
| * Don't run reap() or domain_restarts() as side-effects of refresh.cl349@firebug.cl.cam.ac.uk2005-09-161-11/+8
| | | | | | | | | | Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
| * Move dom0 setup code out of initial_refresh.cl349@firebug.cl.cam.ac.uk2005-09-161-0/+2
| | | | | | | | | | Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
| * Remove pretty random cleanup code in _add_domain.cl349@firebug.cl.cam.ac.uk2005-09-161-5/+0
| | | | | | | | | | Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
| * Use "vcpu" when referring to vcpus.cl349@firebug.cl.cam.ac.uk2005-09-163-8/+8
| | | | | | | | | | Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
| * Make dom0_enforce_cpus() use vcpu_hotplug rather than directly modifying the ↵cl349@firebug.cl.cam.ac.uk2005-09-164-28/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | sysfs entries. Directly modifying the sysfs entries causes the xenstore state of a cpu's availability to be incorrect. Also slightly modify the dom0-cpus description in the xend-config. Rather than specifying which dom0 vcpus are to be used, it is now a target of how many vcpus to use as pinvcpu ops are the preferred method for setting which physical cpu a vcpu uses. Signed-off-by: Ryan Harper <ryanh@us.ibm.com> Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
| * merge?cl349@firebug.cl.cam.ac.uk2005-09-161-6/+7
| |\
| | * Fix the control panel problem.cl349@firebug.cl.cam.ac.uk2005-09-161-6/+7
| | | | | | | | | | | | | | | | | | | | | The new image handling structure broke the vmx guest loading. Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com> Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
| * | merge?cl349@firebug.cl.cam.ac.uk2005-09-1611-1733/+1764
| |\|
| | * Clean up and re-indent netback driver.kaf24@firebug.cl.cam.ac.uk2005-09-164-935/+968
| | | | | | | | | | | | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
| | * Clean up and re-indent netfront.ckaf24@firebug.cl.cam.ac.uk2005-09-161-756/+746
| | | | | | | | | | | | | | | | | | Signed-off-by: Keir Fraser <keir@xensource.com>
| | * Grant-refrence allocation pools and tracking tables should bekaf24@firebug.cl.cam.ac.uk2005-09-161-52/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | per interface in netfront, not global. This fixes various bug reports including Bugzilla #183. Signed-off-by: Jim Dykman <dykman@us.ibm.com>
| | * direct_remap_pfn_range() takes a vm_area_struct rather thankaf24@firebug.cl.cam.ac.uk2005-09-166-35/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | an mm_struct. Also it sets VM_RESERVED and VM_IO, just like generic remap_pfn_range() in mm/memory.c. Signed-off-by: Keir Fraser <keir@xensource.com>
| * | Cleanup domain reaper and domain destruction functions.cl349@firebug.cl.cam.ac.uk2005-09-161-53/+29
| | | | | | | | | | | | | | | Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
| * | Fix setStoreChannel(None) - fixes cleanup on destroy.cl349@firebug.cl.cam.ac.uk2005-09-161-1/+5
| |/ | | | | | | | | Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
| * distclean target added to root makefile. From rusty.kaf24@firebug.cl.cam.ac.uk2005-09-161-3/+6
| |
| * Simplify backend flag parsing.cl349@firebug.cl.cam.ac.uk2005-09-152-20/+15
| | | | | | | | | | Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
| * Export block device read-only state into store.cl349@firebug.cl.cam.ac.uk2005-09-151-0/+3
| | | | | | | | | | Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
| * Fix bootloader support some more.cl349@firebug.cl.cam.ac.uk2005-09-151-8/+4
| | | | | | | | | | Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
| * merge?cl349@firebug.cl.cam.ac.uk2005-09-158-114/+60
| |\
| | * Start cleaning up grant tables. gnttab_donate now calledkaf24@firebug.cl.cam.ac.uk2005-09-158-114/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gnttab_transfer, with slightly rationalised interface and simpler implementation inside Xen. This is a tiny chip off the tip of a very big iceberg. :-) Signed-off-by: Keir Fraser <keir@xensource.com>
| * | Maybe fix running bootloader after reboot.cl349@firebug.cl.cam.ac.uk2005-09-151-4/+3
| |/ | | | | | | | | Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
| * merge?cl349@firebug.cl.cam.ac.uk2005-09-151-1/+2
| |\