]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: useserial: drop useless check for serial devices
authorJán Tomko <jtomko@redhat.com>
Fri, 18 Aug 2017 15:05:35 +0000 (17:05 +0200)
committerJán Tomko <jtomko@redhat.com>
Tue, 22 Aug 2017 07:44:28 +0000 (09:44 +0200)
commitbad14fbbede025494842f5ed7bd949fe686fd57c
tree68cf409530d3a54f76153e718feaa9964d957bfe
parent0f1993aa15f281b3812806e29df729149a5b64c6
conf: useserial: drop useless check for serial devices

Since its introduction in commit 874e65aa, if someone requests:
<os><bios useserial="yes"/><os/>
we report an error if we cannot successfully count the number
of serial devices via an XPath query.

Instead of fixing the check (and moving it to the validation phase,
to prevent existing domains from disappearing), drop it completely.
For QEMU, the number of serials is checked when building the command
line.
src/conf/domain_conf.c