Skip to contentSkip to conversation

blktap & parallax reorganize

PATCH In review aq 3 participants 3 messages Jun 11, 2005

lore
Share & tools
lore

aq

author
#0 lore raw

PATCH 1/1 blktap & parallax reorganize

at the moment blktap directory is a little bit messy: blktap and parallax code are mixed. this patch makes a new directory named parallax under blktap and put parallax code into it. (lets consider that parallax is an "application" or blktap, and we might have more in the future). it also makes some cleanups and little fixes to Makefiles. Andrew, please apply.

this patch is a little bit big, so i gzip it and attach .gz file here (btw, what is the recommend size limit of attachment for this list?)

 Makefile                   |  106 ---
 README-PARALLAX            |  177 -----
 block-async.c              |  393 -------------
 block-async.h              |   69 --
 blockstore.c               | 1350 ---------------------------------------------
 blockstore.h               |  134 ----
 blockstored                |binary
 blockstored.c              |  276 ---------
 bstest.c                   |  191 ------
 parallax.c                 |  611 --------------------
 parallax/Makefile          |  118 +++
 parallax/README            |  177 +++++
 parallax/block-async.c     |  393 +++++++++++++
 parallax/block-async.h     |   69 ++
 parallax/blockstore.c      | 1350 +++++++++++++++++++++++++++++++++++++++++++++
 parallax/blockstore.h      |  134 ++++
 parallax/blockstored       |binary
 parallax/blockstored.c     |  276 +++++++++
 parallax/bstest.c          |  191 ++++++
 parallax/parallax.c        |  611 ++++++++++++++++++++
 parallax/radix.c           |  631 +++++++++++++++++++++
 parallax/radix.h           |   45 +
 parallax/requests-async.c  |  762 +++++++++++++++++++++++++
 parallax/requests-async.h  |   29 
 parallax/snaplog.c         |  238 +++++++
 parallax/snaplog.h         |   61 ++
 parallax/vdi.c             |  367 ++++++++++++
 parallax/vdi.h             |   55 +
 parallax/vdi_create.c      |   52 +
 parallax/vdi_fill.c        |   81 ++
 parallax/vdi_list.c        |   47 +
 parallax/vdi_snap.c        |   43 +
 parallax/vdi_snap_delete.c |   48 +
 parallax/vdi_snap_list.c   |   82 ++
 parallax/vdi_tree.c        |  132 ++++
 parallax/vdi_unittest.c    |  184 ++++++
 parallax/vdi_validate.c    |   97 +++
 radix.c                    |  631 ---------------------
 radix.h                    |   45 -
 requests-async.c           |  762 -------------------------
 requests-async.h           |   29 
 snaplog.c                  |  238 -------
 snaplog.h                  |   61 --
 vdi.c                      |  367 ------------
 vdi.h                      |   55 -
 vdi_create.c               |   52 -
 vdi_fill.c                 |   81 --
 vdi_list.c                 |   47 -
 vdi_snap.c                 |   43 -
 vdi_snap_delete.c          |   48 -
 vdi_snap_list.c            |   82 --
 vdi_tree.c                 |  132 ----
 vdi_unittest.c             |  184 ------
 vdi_validate.c             |   97 ---
 54 files changed, 6297 insertions(+), 6237 deletions(-)

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

Xend won't start: attribute VIRQ_DOM_EXC

I'll step back to Xen stable, because of my network probs with Xen unstable. So I configured and compiled Xen 2.0.6, but I came to the following error after starting Xend:

Exception starting xend: 'module' object has no attribute 'VIRQ_DOM_EXC' Traceback (most recent call last):
File "/usr/lib/python/xen/xend/server/SrvDaemon.py", line 302, in run
self.createFactories()
File "/usr/lib/python/xen/xend/server/SrvDaemon.py", line 317, in
createFactories
self.channelF = channel.channelFactory()
File "/usr/lib/python/xen/xend/server/channel.py", line 217, in
channelFactory
inst = ChannelFactory()
File "/usr/lib/python/xen/xend/server/channel.py", line 65, in __init__
self.bind_virq(xen.lowlevel.xc.VIRQ_DOM_EXC)
AttributeError: 'module' object has no attribute 'VIRQ_DOM_EXC'

Can't find anything about it, and Xen did boot actually, with Xen unstable, so Python should be allright.

Jurgen

---------------------------------------------------------------------------
"When a man sits with a pretty girl for an hour, it seems like a minute. But let him sit on a hot stove for a minute and it's longer than any hour. That's relativity." [A. Einstein, 1938]

http://jurgenstroo.com
Mercedes W123 230C 1978 (95000km) */-&-/* Mercedes W123 300TD 1979 (395000km)

#2 lore raw

Re: Xend won't start: attribute VIRQ_DOM_EXC

rm -rf /usr/lib/python/xen

Then reinstall the tools.

Worked for me :-)

Cheers,
Mark

Quoted 37 lines · Jurgen Stroo

I'll step back to Xen stable, because of my network probs with Xen unstable. So I configured and compiled Xen 2.0.6, but I came to the following error after starting Xend:

Exception starting xend: 'module' object has no attribute 'VIRQ_DOM_EXC' Traceback (most recent call last):
File "/usr/lib/python/xen/xend/server/SrvDaemon.py", line 302, in run
self.createFactories()
File "/usr/lib/python/xen/xend/server/SrvDaemon.py", line 317, in
createFactories
self.channelF = channel.channelFactory()
File "/usr/lib/python/xen/xend/server/channel.py", line 217, in
channelFactory
inst = ChannelFactory()
File "/usr/lib/python/xen/xend/server/channel.py", line 65, in __init__
self.bind_virq(xen.lowlevel.xc.VIRQ_DOM_EXC)
AttributeError: 'module' object has no attribute 'VIRQ_DOM_EXC'

Can't find anything about it, and Xen did boot actually, with Xen unstable, so Python should be allright.

Jurgen

---------------------------------------------------------------------------
"When a man sits with a pretty girl for an hour, it seems like a minute. But let him sit on a hot stove for a minute and it's longer than any hour. That's relativity." [A. Einstein, 1938]

http://jurgenstroo.com
Mercedes W123 230C 1978 (95000km) */-&-/* Mercedes W123 300TD 1979 (395000km)

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel