Commit Graph
478 Commits
Author SHA1 Message Date
cl349@firebug.cl.cam.ac.uk 12f5438d72 bitkeeper revision 1.1662.1.6 (42a4668acAGbhHtR6a2E9nRSv0bjrA)
XendDomainInfo.py:
  Add setName.
Signed-off-by: Mike Wray <mike.wray@hp.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-06 15:06:50 +00:00
cl349@firebug.cl.cam.ac.uk 54c1b7d5a1 bitkeeper revision 1.1662.1.5 (42a46588UuohS0CHY1F3XZtrchaAwA)
Many files:
  Remove device indexing.
Signed-off-by: Mike Wray <mike.wray@hp.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-06 15:02:32 +00:00
cl349@firebug.cl.cam.ac.uk 94a75e0212 bitkeeper revision 1.1662.1.4 (42a449c17mlN0vfY0fcb2leEnvVb-A)
usbif.py, netif.py, controller.py, console.py, blkif.py, XendDomainInfo.py:
  Cleanup imports.
XendDomain.py:
  Cleanup imports and some function comments.
  BUG: Add back missing _add_domain call in domain_create.
SrvDaemon.py:
  g/c DEBUG and DAEMONIZE.
XendCheckpoint.py:
  Cleanup domain id/name confusion.
Signed-off-by: Mike Wray <mike.wray@hp.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-06 13:04:01 +00:00
cl349@firebug.cl.cam.ac.uk 31164a82a2 bitkeeper revision 1.1662.1.3 (42a41e76cPOoyKvX4mmcf2J0DTpnpA)
Many files:
  Cleanup domain id/name confusion.
XendDomain.py:
  Cleanup domain id/name confusion, interface to xend db and domain_lookup.
Signed-off-by: Mike Wray <mike.wray@hp.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-06 09:59:18 +00:00
cl349@firebug.cl.cam.ac.uk 57fbe22719 bitkeeper revision 1.1662.1.2 (42a0829aeBxkGIvlJ51XXxy6MTXerA)
XendDomainInfo.py, XendDomain.py:
  Make create, recreate and restore XendDomainInfo class methods.
XendDomain.py:
  Still need XendDomainInfo.
PrettyPrint.py:
  Fix typo.
xc.c:
  Cleanup whitespace.
Signed-off-by: Mike Wray <mike.wray@hp.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-03 16:17:30 +00:00
cl349@firebug.cl.cam.ac.uk d057c5ef08 bitkeeper revision 1.1662.1.1 (42a07145CPNIh8TprNz04Qg7x-S7Cw)
xend cleanups from Mike Wray.
XendDomain.py:
  Add comment for domain_mem_target_set.
SrvDaemon.py:
  Use XEND_DAEMONIZE, XEND_DEBUG and XEND_DEBUGLOG.
XendRoot.py:
  Use XEND_DEBUG.
netif.py:
  Unknown domains are called "Domain-%d" % dom.
params.py:
  Add additional parameters and set some parameters from
  environment variables.
blkif.py, XendDomain.py:
  Cleanup whitespace.
XendRoot.py:
  enable_dump default is 'no'.
  enable_dump is a bool.
  Add 'true' and 'false' to get_config_bool.
XendDomainInfo.py:
  Add DOMAIN_CRASH shutdown code.
XendDomain.py:
  Simplify.
  Add domain_dumpcore.
  Move class XendDomainDict outside of class XendDomain.
  Import shutdown_reason from XendDomainInfo.
  Update comment for xen_domain.
PrettyPrint.py:
  Cleanup prettyprintstring.
SrvDir.py:
  Cleanup render_GET.
xc.c:
  Various cleanups.
Signed-off-by: Mike Wray <mike.wray@hp.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-03 15:03:33 +00:00
cl349@firebug.cl.cam.ac.uk 8387e129a2 bitkeeper revision 1.1618 (429c9b21TCCZatsEzYuIU4HRcrJtyA)
XendDomain.py:
  Allow migration to localhost.
  g/c XendDomain.domain_exists().
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-31 17:13:05 +00:00
cl349@firebug.cl.cam.ac.uk 433792cb4c bitkeeper revision 1.1617 (429c8920BjgVBzWyVe6fs4GTiKD5Yw)
XendDomainInfo.py, XendDomain.py:
  tmp_restore_create_domain is vm_restore now.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-31 15:56:16 +00:00
cl349@firebug.cl.cam.ac.uk b56c43921e bitkeeper revision 1.1616 (429c8121AG7l1hMWaCYDFMFSyUtKMA)
XendDomainInfo.py:
  g/c ipaddrs: no longer needed.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-31 15:22:09 +00:00
cl349@firebug.cl.cam.ac.uk 59f83bdc8f bitkeeper revision 1.1615 (429c80cbvtnzneyg7GyZAmZlQNm-Yg)
XendDomainInfo.py:
  g/c vm_restore:  no longer used.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-31 15:20:43 +00:00
cl349@firebug.cl.cam.ac.uk 6a89fed7f6 bitkeeper revision 1.1614 (429c80a0GOB6P2mG94bxVMLZE34VdA)
XendDomainInfo.py:
  g/c vif_up: it's the guest's responsibility to take appropriate
  actions to get its network working again, i.e. send ARP packets when
  it's resumed.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-31 15:20:00 +00:00
cl349@firebug.cl.cam.ac.uk d47ec32b2f bitkeeper revision 1.1613 (429c6e1eexBYav7WpRxH77Hcyh4PLQ)
XendDomainInfo.py:
  Should use int(cpu) here to test if it's valid.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-31 14:01:02 +00:00
cl349@firebug.cl.cam.ac.uk f58df8b759 bitkeeper revision 1.1612 (429c6dd5DZf10_GWDT3DTiTom7Mb1g)
XendDomainInfo.py:
  cpu == 0 is the 1st cpu, allow pinning a domain to it.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-31 13:59:49 +00:00
cl349@firebug.cl.cam.ac.uk 1b6178bfc7 bitkeeper revision 1.1610 (429c6844gwqwv-oCcjfTguJRDbgCXQ)
XendRoot.py:
  Fix get_xend_relocation_port comment.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-31 13:36:04 +00:00
cl349@firebug.cl.cam.ac.uk 33ee35be59 bitkeeper revision 1.1609 (429c6790TWBysBM5eFTwmssbNmB69g)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
2005-05-31 13:33:04 +00:00
cl349@firebug.cl.cam.ac.uk 227268c011 bitkeeper revision 1.1159.258.161 (429c6785ldESInztrl6dDaEZHXUyZg)
XendRoot.py:
  Document loglevel_default and change default interface address for
  listening at for console connections.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-31 13:32:53 +00:00
cl349@firebug.cl.cam.ac.uk cf5e514eae bitkeeper revision 1.1607 (429c2f231bx3kugLWzaDsPB4OQMBAA)
Merge
2005-05-31 09:32:19 +00:00
cl349@firebug.cl.cam.ac.uk f2070412f6 bitkeeper revision 1.1159.258.158 (429c2ed9fqwHGLXrjJlLr96kpvW_UA)
XendConsole.py:
  Remove unused code.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-31 09:31:05 +00:00
cl349@firebug.cl.cam.ac.uk 0f9c68f0c2 bitkeeper revision 1.1606 (429c2af45-eQkEjNUi7xp8oigsbTSg)
XendProtocol.py:
  Make XendProtocol.py use XendRoot to get the path to xend
  domain-socket.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-31 09:14:28 +00:00
cl349@firebug.cl.cam.ac.uk a49e6a7461 bitkeeper revision 1.1605 (429c2a02hn35DARfsEykCzpBrPrMhw)
SrvDaemon.py:
  Remove unused code.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-31 09:10:26 +00:00
cl349@firebug.cl.cam.ac.uk 70a35c20df bitkeeper revision 1.1604 (429c27853YjCcOkLEnjS5rFvk6ORlQ)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
2005-05-31 08:59:49 +00:00
cl349@firebug.cl.cam.ac.uk 962e7da06c bitkeeper revision 1.1159.258.157 (429c276eHQwfuqCUJJBnQeDTzUz3lg)
XendRoot.py:
  XendRoot::logDebug wrongly set the message format to 'info', instead
  of 'debug'.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-31 08:59:26 +00:00
smh22@firebug.cl.cam.ac.uk d0e8e50db8 bitkeeper revision 1.1597 (429b4898xNVUuBPMVXKa545qSx7i7A)
fix xm vif-list and xm vbd-list (modulo error reporting for domain 0)

Signed-off-by: Steven Hand <steven@xensource.com>
2005-05-30 17:08:40 +00:00
smh22@firebug.cl.cam.ac.uk 4df6f3bbbe bitkeeper revision 1.1593.1.1 (429b3f9dAiHnKq38m74zg-HSQnYfwQ)
partial fix for vbd-list and vif-list
2005-05-30 16:30:21 +00:00
kaf24@firebug.cl.cam.ac.uk 7b97cafdde bitkeeper revision 1.1574 (4296fa5erB8OK0RVQ0VDZFNWsbl4Qg)
xm's pincpu has a problem handling the cpu parameter if the cpu number
is more than one digit. This patch fixes it.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
2005-05-27 10:45:50 +00:00
akw27@arcadians.cl.cam.ac.uk f6b4946f94 bitkeeper revision 1.1563 (4295e70c6gPBeUtVURfaYnxTU_GbrA)
Make disconnect/destroy messages from xend to the backend drivers wait for 
responses to allow backends to shut down the connection properly.
2005-05-26 15:11:08 +00:00
cl349@firebug.cl.cam.ac.uk a4d6f3d21c bitkeeper revision 1.1550.1.4 (4294b3735gOYxynlbg6ebX3oag6sHQ)
relocate.py, SrvDomain.py, XendDomain.py:
  Support vm relocation using XendCheckpoint.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-25 17:18:43 +00:00
cl349@firebug.cl.cam.ac.uk 8553e6167e bitkeeper revision 1.1550.1.2 (4294a1f1_I9jQ97QY8OTqDCx1kDIUA)
SrvDaemon.py, XendRoot.py, relocate.py:
  Add relocation server.
XendCheckpoint.py:
  Import XendError.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-25 16:04:01 +00:00
cl349@firebug.cl.cam.ac.uk 1c31240ab2 bitkeeper revision 1.1550.1.1 (42947c93ScXPWqJQrSKCVoxqNJmCbw)
XendDomain.py:
  Remove XendMigrate.
.del-XendMigrate.py~3921a328f4db779:
  Delete: tools/python/xen/xend/XendMigrate.py
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-25 13:24:35 +00:00
cl349@firebug.cl.cam.ac.uk 72dd10c44d bitkeeper revision 1.1549 (429459dd8Wdn9xpYhxSGQBJEie8pXA)
XendDomainInfo.py, XendDomain.py:
  Disable shutdown timeout for suspend.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-25 10:56:29 +00:00
cl349@firebug.cl.cam.ac.uk 1d006bb235 bitkeeper revision 1.1547 (42945455UNorq1ha3va8g7OVydNVmw)
XendDomain.py:
  Improve error handling.
XendCheckpoint.py:
  Switch restore to use os functions to read from the state file.
  Simplify code.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-25 10:32:53 +00:00
cl349@firebug.cl.cam.ac.uk 42736be47b bitkeeper revision 1.1546 (42944efdY94XWSK3i6H669MdigOOzw)
XendDomain.py:
  Move save/restore code in seperate file.
XendCheckpoint.py:
  Support code for save/restore of domains.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-25 10:10:05 +00:00
cl349@firebug.cl.cam.ac.uk eb739ebddc bitkeeper revision 1.1545 (42943a77oCSQWIL-DLwwTV7xUND3eQ)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
2005-05-25 08:42:31 +00:00
cl349@firebug.cl.cam.ac.uk 76105d8a76 bitkeeper revision 1.1542.1.1 (42943a71LGhR_dI1LOX6lKtJ08zzTA)
setup.py, Makefile:
  Remove XenSV -- it's been broken since twisted was removed.
Many files:
  Delete: tools/misc/xensv
  Delete: tools/python/xen/sv/params.py
  Delete: tools/python/xen/sv/__init__.py
  Delete: tools/python/xen/sv/MigrateDomain.py
  Delete: tools/python/xen/sv/Daemon.py
  Delete: tools/python/xen/sv/util.py
  Delete: tools/python/xen/sv/Wizard.py
  Delete: tools/python/xen/sv/TabView.py
  Delete: tools/python/xen/sv/SaveDomain.py
  Delete: tools/python/xen/sv/RestoreDomain.py
  Delete: tools/python/xen/sv/NodeInfo.py
  Delete: tools/python/xen/sv/Main.py
  Delete: tools/python/xen/sv/HTMLBase.py
  Delete: tools/python/xen/sv/GenTabbed.py
  Delete: tools/python/xen/sv/DomList.py
  Delete: tools/python/xen/sv/DomInfo.py
  Delete: tools/python/xen/sv/CreateDomain.py
  Delete: tools/sv/images/unpause.png
  Delete: tools/sv/images/small-unpause.png
  Delete: tools/sv/images/small-pause.png
  Delete: tools/sv/images/small-destroy.png
  Delete: tools/sv/images/shutdown.png
  Delete: tools/sv/images/seperator.jpg
  Delete: tools/sv/images/right-end-highlight.jpg
  Delete: tools/sv/images/reboot.png
  Delete: tools/sv/images/previous.png
  Delete: tools/sv/images/pause.png
  Delete: tools/sv/images/orb_02.jpg
  Delete: tools/sv/images/next.png
  Delete: tools/sv/images/middle-no-highlight.jpg
  Delete: tools/sv/images/middle-highlight.jpg
  Delete: tools/sv/images/left-end-no-highlight.jpg
  Delete: tools/sv/images/left-end-highlight.jpg
  Delete: tools/sv/images/finish.png
  Delete: tools/sv/images/destroy.png
  Delete: tools/sv/inc/style.css
  Delete: tools/sv/images/seperator-right-highlight.jpg
  Delete: tools/sv/images/seperator-left-highlight.jpg
  Delete: tools/sv/inc/script.js
  Delete: tools/sv/images/right-end-no-highlight.jpg
  Delete: tools/sv/images/orb_01.jpg
  Delete: tools/sv/Makefile
  Delete: tools/sv/Main.rpy
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-25 08:42:25 +00:00
kaf24@firebug.cl.cam.ac.uk 38a5a90c1a bitkeeper revision 1.1544 (4294310cgG9HRlkgAVpjdkn3zSUpkw)
this patch fixes a wrong email address and replaces a number (errno)
with a defined constant to make it more portable.

Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
2005-05-25 08:02:20 +00:00
cl349@firebug.cl.cam.ac.uk 519108b9f7 bitkeeper revision 1.1534.1.1 (429399e0oJudIjoFsgWFxNKnCM7qTg)
Nothing but vnet uses libxutil -- move it there.
Makefile, xc.c, setup.py, configure, configure.in, Makefile.in:
  This doesn't use libxutil.
Makefile, Makefile.vnet, Rules.mk:
  Move libxutil into vnet since it's only used there.
Many files:
  mvdir
2005-05-24 21:17:20 +00:00
cl349@firebug.cl.cam.ac.uk 50f2601af9 bitkeeper revision 1.1533 (429379beNzrMmx_MJCmvdmLhK3EMfw)
migrate.py, params.py, SrvDaemon.py, xend, Makefile:
  Remove xfrd now that save/restore doesn't use xfrd anymore.
console.py:
  Remove/disable debug output.
.del-check_twisted~f74b05eb88f208a1:
  Delete: tools/check/check_twisted
xend:
  Twisted is no longer used -- remove check whether it's installed or not.
.del-Makefile~474b093f3e64d016:
  Delete: tools/xfrd/Makefile
.del-xfrdClient.py~d1d33f981191dfa:
  Delete: tools/xfrd/xfrdClient.py
.del-xfrd.h~54f8ea6e77cf4f26:
  Delete: tools/xfrd/xfrd.h
.del-xfrd.c~e3be851c3a4297a5:
  Delete: tools/xfrd/xfrd.c
.del-xen_domain.h~4a0c609ff18c63a8:
  Delete: tools/xfrd/xen_domain.h
.del-xen_domain.c~cd85f330a909fbce:
  Delete: tools/xfrd/xen_domain.c
.del-select.h~348b2b069dd5748:
  Delete: tools/xfrd/select.h
.del-select.c~373282d5f920303d:
  Delete: tools/xfrd/select.c
.del-marshal.h~9929a72563171372:
  Delete: tools/xfrd/marshal.h
.del-marshal.c~3108fab658d2220:
  Delete: tools/xfrd/marshal.c
.del-lzi_stream.h~49308e7b16ba42e3:
  Delete: tools/xfrd/lzi_stream.h
.del-lzi_stream.c~e1870394f081f255:
  Delete: tools/xfrd/lzi_stream.c
.del-debug.h~c268d8f144e5e4da:
  Delete: tools/xfrd/debug.h
.del-connection.h~ac7cb6a42316a421:
  Delete: tools/xfrd/connection.h
.del-connection.c~c025e96fc5649424:
  Delete: tools/xfrd/connection.c
.del-Make.xfrd~5a18d2f63aad1d40:
  Delete: tools/xfrd/Make.xfrd
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-24 19:00:14 +00:00
cl349@firebug.cl.cam.ac.uk 046ec820cc bitkeeper revision 1.1530.1.1 (4293733607D8CFWTaBtOQB46iiGQqg)
blkif.py, XendDomain.py:
  Remove/disable debug output.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-24 18:32:22 +00:00
cl349@firebug.cl.cam.ac.uk 6a6931fc64 bitkeeper revision 1.1530 (42937238W2qaGubDybmWZrLF-sQjNQ)
console.py, channel.py, XendDomain.py:
  Remove/disable debug output.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-24 18:28:08 +00:00
cl349@firebug.cl.cam.ac.uk 35a241e01b bitkeeper revision 1.1529 (42936afbeMakdMOVWV-TYdagR8spKg)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk-clean
2005-05-24 17:57:15 +00:00
cl349@firebug.cl.cam.ac.uk 23999c8bc1 bitkeeper revision 1.1527.2.1 (429368a2F0SR4yrzuHsrRucuwriYqA)
Implement the parts of vm save which need interaction with xend
as part of xend, instead of using xfrd.
Execute xc_linux_save in a seperate process so that it can't
crash xend.  Also handle errors passed from xc_linux_save.
xen_domain.c:
  Disable save in xfrd.
xc_save.c:
  new file
Makefile:
  Add xc_save.
XendDomainInfo.py:
  Add suspended state and threading Condition with notification, allowing
  easy waiting for state changes.
XendDomain.py:
  Implement the parts of vm save which need interaction with xend
  as part of xend, instead of using xfrd.  Set state to "suspended"
  when detecting a suspended domain.
  Fix reading output from subprocesses.
  Fix ValueError in xen_domain().
xc.c:
  Remove python binding for xc_linux_save.
xc_linux_save.c:
  Implement the parts of vm save which need interaction with xend
  as part of xend, instead of using xfrd.  Also run xc_linux_save
  in a seperate process.
xc_linux_restore.c:
  Flush output so that xend picks it up timely.
  Also disable debug output again.
xc.h:
  Update xc_linux_save prototype and fix comments for xc_linux_{save,restore}.
ignore:
  Add tools/xcutils/xc_save.
xpopen.py:
  Exit with 127 if exec fails.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-24 17:47:14 +00:00
cl349@firebug.cl.cam.ac.uk a5a8a98d1f bitkeeper revision 1.1528 (4292fdfc5zZkxl3RcxrdBZCU6Rd8EA)
XendDomain.py:
  Handle error case where exec fails.
xpopen.py:
  Exit with 127 if exec fails.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-24 10:12:12 +00:00
cl349@firebug.cl.cam.ac.uk c25441ba0a bitkeeper revision 1.1523.1.2 (4292f584VQVu_jEbX42qk-F3YrfDnQ)
xpopen.py:
  Add Python license.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-24 09:36:04 +00:00
cl349@firebug.cl.cam.ac.uk a822a7d28e bitkeeper revision 1.1519 (42925a7e5ZIo431XTUQd8kj6omAbZA)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk-clean
2005-05-23 22:34:38 +00:00
cl349@firebug.cl.cam.ac.uk 35db9d71b6 bitkeeper revision 1.1513.1.1 (42925a6aSZSwfyaVsNzV4psPmpZwZg)
Execute xc_linux_restore in a seperate process so that it can't
crash xend.  Also handle errors passed from xc_linux_restore and
log info messages from xc_linux_restore.
XendDomain.py:
  Popen xc_restore instead of calling xc_linux_restore directly.
xc.c:
  Add pyxc_handle exporting the file descriptor to the control interface.
  Remove xc_linux_restore -- replaced by popen of xc_restore directly
  from python.
xc_linux_restore.c:
  Enable debug output.
xpopen.py:
  Add xpopen functionality:
  Optionally exclude a list of file descriptors from being closed, allowing
  access to those file descriptors from the command.
  Remove unused parts.
xpopen.py, Makefile, xc_restore.c:
  new file
Makefile:
  Add xcutils subdir.
ignore:
  Add tools/xcutils/xc_restore.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-23 22:34:18 +00:00
rneugeba@wyvis.research.intel-research.net 61a185c7b6 bitkeeper revision 1.1515.1.1 (42922641RfGxKY5iamyIb3lRFjlpzQ)
better support for vnc in qemu device model:
- different ports for different VMs
- allow reverse connect to a running viewer

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@intel.com>
2005-05-23 18:51:45 +00:00
cl349@firebug.cl.cam.ac.uk 83bd20f0d6 bitkeeper revision 1.1512 (4291e819kp5stS-T-KsgGXWV2Tvfow)
XendDomain.py:
  Get sizeof right.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-23 14:26:33 +00:00
cl349@firebug.cl.cam.ac.uk fa16d77058 bitkeeper revision 1.1511 (4291af78wDb78xhg10ccUaCX1vnh_w)
XendDomain.py, xc.c, xc_linux_restore.c, xc.h:
  Move read of pfn to mfn frame list into xc_linux_restore.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-23 10:24:56 +00:00
cl349@firebug.cl.cam.ac.uk f900ac3343 bitkeeper revision 1.1510 (4291adbf-g-WMA-w33q-SnHuwoX3BA)
XendDomain.py, xc_linux_save.c:
  Re-arrange layout of save/restore file.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-23 10:17:35 +00:00
cl349@firebug.cl.cam.ac.uk 3277f00e2a bitkeeper revision 1.1488.1.1 (428e39badumj52vi-nzb7GBmoVe2dA)
XendDomainInfo.py, XendDomain.py, xc.c, xc_linux_restore.c, xc.h:
  Implement the parts of vm restore which need interaction with xend
  as part of xend, instead of using xfrd.  The restore functionality
  using xfrd was broken anyway since xend didn't handle the callback
  channel from xfrd correctly.
xen_domain.c:
  Disable restore in xfrd.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-20 19:25:46 +00:00