]> git.ipfire.org Git - thirdparty/libvirt.git/commit
domain: make port optional for network disks
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 21 Mar 2013 11:53:51 +0000 (12:53 +0100)
committerOsier Yang <jyang@redhat.com>
Fri, 22 Mar 2013 04:10:23 +0000 (12:10 +0800)
commit8110a8249d1b3c48f69d642d15d4894b7fcf05c4
treed5d3122e81ff5c670c67de152f2251f274087e1e
parentc820fbff9fbfe1f2549a5b60967496587f8d8bfc
domain: make port optional for network disks

Only sheepdog actually required it in the code, and we can use 7000 as the
default---the same value that QEMU uses for the simple "sheepdog:VOLUME"
syntax.  With this change, the schema can be fixed to allow no port.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
docs/formatdomain.html.in
docs/schemas/domaincommon.rng
src/conf/domain_conf.c
src/qemu/qemu_command.c