Re: [Qemu-devel] [PATCH] Set hostname in DHCP response

2006-03-12 Thread Leonardo E. Reiter
QEMU doesn't do a great job of supporting multiple user-net interfaces right now. I was testing this the other day and getting some rather odd behavior (unexpected segfaults, etc.) I didn't debug deep enough to figure out the specifics, but having a global state (like slirp is today) for mult

Re: [Qemu-devel] [PATCH] Set hostname in DHCP response

2006-03-12 Thread Ed Swierk
On 3/11/06, Paul Brook <[EMAIL PROTECTED]> wrote: > This should be set via -net user,hostname=foo. No need for a separate option. I agree, since the hostname is relevant only for user-net interfaces. An updated patch is attached. The only issue is that there's just a single, global hostname, not

Re: [Qemu-devel] [PATCH] Set hostname in DHCP response

2006-03-11 Thread Paul Brook
On Friday 10 March 2006 07:35, Ed Swierk wrote: > Here is a patch that sets the hostname in the DHCP response generated > by qemu's user-net DHCP server, and adds a new -hostname command line > option to specify the value. This should be set via -net user,hostname=foo. No need for a separate optio

[Qemu-devel] [PATCH] Set hostname in DHCP response

2006-03-09 Thread Ed Swierk
Here is a patch that sets the hostname in the DHCP response generated by qemu's user-net DHCP server, and adds a new -hostname command line option to specify the value. If the guest OS is configured properly, the value received in the DHCP response is automatically used to set the machine's hostna