Re: [Libvir] e1000 - Specifying model in XML Configs

2008-04-08 Thread Jim Paris
Henri Cook wrote: > Hi guys, > > I just tried to port a few customers over to this libvirt setup i'm > hoping to run and I couldn't get their machines started because there's > no mechanism to specify a model in the XML! > > I know redhat have changed KVM's default driver to e1000, which I think

Re: [Libvir] e1000 - Specifying model in XML Configs

2008-04-08 Thread Henri Cook
Sorry - I tried to make a patch, but it appears it makes libvirtd segfault (it starts but when i try to use virsh -c qemu:///system create vm.cfg it segfaults). Also - when building my own copy of libvirt - I can connect via virsh -c qemu:///system, but just 'virsh' says it cannot connect to the h

Re: [Libvir] e1000 - Specifying model in XML Configs

2008-04-08 Thread Pau Garcia i Quiles
Quoting "Richard W.M. Jones" <[EMAIL PROTECTED]>: On Mon, Apr 07, 2008 at 10:51:56PM +0100, Henri Cook wrote: I just tried to port a few customers over to this libvirt setup i'm hoping to run and I couldn't get their machines started because there's no mechanism to specify a model in the XML!

Re: [Libvir] e1000 - Specifying model in XML Configs

2008-04-08 Thread Henri Cook
There's nothing in brctl show for virbr0 - br0 still exists but that's in use (And shouldn't be causing the problem?) Maybe it's a one off - i'll try to recreate It could be a patch, maybe, I think bits of it are really bad C (i.e. hackery at its worst) - i'll make sure it works then see if i can

Re: [Libvir] e1000 - Specifying model in XML Configs

2008-04-08 Thread Richard W.M. Jones
On Tue, Apr 08, 2008 at 10:19:02AM +0100, Henri Cook wrote: > I've made a hack for this in the meantime that adds the You have a patch? > Is there a way to fix this without rebooting? ifconfig virbr0 0.0.0.0 > down && brctl delbr virbr0 - doesn't seem to be enough, what did I miss? This should

Re: [Libvir] e1000 - Specifying model in XML Configs

2008-04-08 Thread Henri Cook
I've made a hack for this in the meantime that adds the option to the section and allows me to pass in any string for addition - since I really wanted this functionality. Obviously this means i'm now compiling my Ubuntu package from source which isn't ideal, it'll probably get overwritten by apt

Re: [Libvir] e1000 - Specifying model in XML Configs

2008-04-08 Thread Richard W.M. Jones
On Tue, Apr 08, 2008 at 04:45:23AM -0400, Daniel Veillard wrote: > Then what happen if you pass a wrong string ? Is there any way to get a > meaningful error back from qemu and report it. Thet would IMHO be quite > better than tracking the evolution of the emulation in QEmu, plus the > added benefi

Re: [Libvir] e1000 - Specifying model in XML Configs

2008-04-08 Thread Daniel Veillard
On Tue, Apr 08, 2008 at 09:05:41AM +0100, Richard W.M. Jones wrote: > On Mon, Apr 07, 2008 at 10:51:56PM +0100, Henri Cook wrote: > > I just tried to port a few customers over to this libvirt setup i'm > > hoping to run and I couldn't get their machines started because there's > > no mechanism to s

Re: [Libvir] e1000 - Specifying model in XML Configs

2008-04-08 Thread Richard W.M. Jones
On Mon, Apr 07, 2008 at 10:51:56PM +0100, Henri Cook wrote: > I just tried to port a few customers over to this libvirt setup i'm > hoping to run and I couldn't get their machines started because there's > no mechanism to specify a model in the XML! > > I know redhat have changed KVM's default dri

Re: [Libvir] e1000 - Specifying model in XML Configs

2008-04-07 Thread Henri Cook
P.S. I'd take even a hack to get this working in the meantime Henri Cook wrote: > Hi guys, > > I just tried to port a few customers over to this libvirt setup i'm > hoping to run and I couldn't get their machines started because there's > no mechanism to specify a model in the XML! > > I know re

[Libvir] e1000 - Specifying model in XML Configs

2008-04-07 Thread Henri Cook
Hi guys, I just tried to port a few customers over to this libvirt setup i'm hoping to run and I couldn't get their machines started because there's no mechanism to specify a model in the XML! I know redhat have changed KVM's default driver to e1000, which I think is the one I like the most and a