Add syntax checking for xm block-attach
PATCH 1/1 Add syntax checking for xm block-attach
Hi,
This patch adds syntax checking for "xm block-attach" command. I reflected your comments.
Best regards,
Kan
tools/python/xen/xend/server/blkif.py +5 -1
@@ -64,10 +64,14 @@ class BlkifController(DevController): except ValueError: (typ, params) = ("", "") + mode = sxp.child_value(config, 'mode', 'r') + if mode not in ('r', 'w', 'w!'): + raise VmError('Invalid mode') + back = { 'dev' : dev, 'type' : typ, 'params' : params, - 'mode' : sxp.child_value(config, 'mode', 'r') + 'mode' : mode } if security.on():
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Re: [PATCH][RESEND*2] Add syntax checking for xmblock-attach
Hi Ewan,
Do you have any comment? If you don't have comment, could you commit this patch?
http://lists.xensource.com/archives/html/xen-devel/2006-09/msg00290.html
Best regards,
Kan
Quoted 16 lines
Hi,
This patch adds syntax checking for "xm block-attach" command. I reflected your comments.
Signed-off-by Masaki Kanno <[email protected]>Best regards,
Kan-------------------------------text/plain-------------------------------
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Re: [PATCH][RESEND*2] Add syntax checking for xmblock-attach
Quoted 6 lines · Masaki Kanno
Hi Ewan,
Do you have any comment? If you don't have comment, could you commit this patch?
http://lists.xensource.com/archives/html/xen-devel/2006-09/msg00290.html
I've just applied it. Sorry for the delay.
Ewan.
Ewan Mellor
AppliedOn Mon, Sep 11, 2006 at 11:03:14AM +0900, Masaki Kanno wrote:
Content-Description: Mail message body
Quoted 6 lines
Hi,
This patch adds syntax checking for "xm block-attach" command. I reflected your comments.
Signed-off-by Masaki Kanno <[email protected]>
Applied, thanks.
Ewan.