ia64/xen-unstable

changeset 812:f103c0647208

bitkeeper revision 1.501 (3f86e24efokzHYQdPBVew6ZStP9mLg)

ParseVbdCreate.java:
Fix vbdcreate xenctl call to attach vbds to dom0.
author kaf24@scramble.cl.cam.ac.uk
date Fri Oct 10 16:46:06 2003 +0000 (2003-10-10)
parents b644fab116b4
children 399bb8faf92a d94d0518b17a
files tools/control/src/org/xenoserver/cmdline/ParseVbdCreate.java
line diff
     1.1 --- a/tools/control/src/org/xenoserver/cmdline/ParseVbdCreate.java	Fri Oct 10 14:12:05 2003 +0000
     1.2 +++ b/tools/control/src/org/xenoserver/cmdline/ParseVbdCreate.java	Fri Oct 10 16:46:06 2003 +0000
     1.3 @@ -21,9 +21,6 @@ public class ParseVbdCreate extends Comm
     1.4          if (vd_key.equals("") && partition_name.equals("")) {
     1.5              throw new ParseFailedException("Expected -k<key> or -p<partition>");
     1.6          }
     1.7 -        if (domain_id == 0) {
     1.8 -            throw new ParseFailedException("Expected -n<domain_id>");
     1.9 -        }
    1.10          if (vbd_num == -1) {
    1.11              throw new ParseFailedException("Expected -v<vbd_num>");
    1.12          }