On Tue, Aug 12, 2008 at 03:39:28PM -0400, Daniel Veillard wrote:
On Tue, Aug 12, 2008 at 06:49:59PM +0200, Olivier Deckmyn wrote:
> On Tue, Aug 12, 2008 at 5:17 PM, Daniel Veillard <veillard(a)redhat.com>wrote:
> >
> > That said I'm working on a new version of the patch which would be
adequate
[...]
> Once again, if I can do anything to help, I will.
Then please try the following patch, tell me if it works for you, I didn't
really tried it yet and parallel testing would help.
The things to test are:
- no crash
- the network definition is correctly parsed
- virsh network define and dump still work
- and IP as provided by dnsmasq as suggested
in case of mismatches try to grab the full command line used by libvirtd
for dnsmasq and report it in parallel of the XML file used,
New patch with just a pair of minor fixes which seems to work just fine for
me. The syntax is nearly the old one, just use host instead of statichost:
<ip address="192.168.122.1" netmask="255.255.255.0">
<dhcp>
<range start="192.168.122.4" end="192.168.122.254" />
<host mac="00:16:3E:XX:XX:XX" host="XXX"
ip="192.168.122.2" />
<host host="YYY" ip="192.168.122.3" />
</dhcp>
</ip>
I tried net-edit, net-xmldump, the dnsmasq arguments seems to be properly
set, please report,
thanks
Daniel
--
Red Hat Virtualization group
http://redhat.com/virtualization/
Daniel Veillard | virtualization library
http://libvirt.org/
veillard(a)redhat.com | libxml GNOME XML XSLT toolkit
http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine
http://rpmfind.net/