Re: [libvirt] Missing libxl_device_nic settings

2015-02-02 Thread Jim Fehlig
Kim Larry wrote: > Then how do I set ip address when a VM has to use bridged network with > specific ip? As you describe, and as your patch attempts to do :). But you'll need a V2 to address my comments, particularly the need to rebase against master. Cedric provided some hints on doing that. R

Re: [libvirt] Missing libxl_device_nic settings

2015-02-02 Thread Cedric Bosdonnat
Hi Jihoon, On Sat, 2015-01-24 at 17:17 +, Kim Larry wrote: > I was trying to pass ip address to scripts/vif-bridge by putting address=""/> in guest config xml file, however, I found that > libxlMakeNic(which located in libxl/libxl_conf.c:956) doesn't set > x_nic->ip. So I patched myself but I

Re: [libvirt] Missing libxl_device_nic settings

2015-01-31 Thread Kim Larry
Then how do I set ip address when a VM has to use bridged network with specific ip? Clearly libxl supports it, but I don't see any way to set it though libvirt. JIhoon Jim Fehlig wrote: Kim Larry wrote: Hi, I was trying to pass ip address to scripts/vif-bridge by putting in guest config xml

Re: [libvirt] Missing libxl_device_nic settings

2015-01-27 Thread Jim Fehlig
Kim Larry wrote: > Hi, > > I was trying to pass ip address to scripts/vif-bridge by putting address=""/> in guest config xml file, however, I found that > libxlMakeNic(which located in libxl/libxl_conf.c:956) doesn't set > x_nic->ip. So I patched myself but I'm not so sure > about VIR_DOMAIN_NET_T

[libvirt] Missing libxl_device_nic settings

2015-01-26 Thread Kim Larry
Hi, I was trying to pass ip address to scripts/vif-bridge by putting in guest config xml file, however, I found that libxlMakeNic(which located in libxl/libxl_conf.c:956) doesn't set x_nic->ip. So I patched myself but I'm not so sure about  VIR_DOMAIN_NET_TYPE_ETHERNET. It seems like vif-route

[libvirt] Missing libxl_device_nic settings

2015-01-26 Thread Kim Larry
Hi, I was trying to pass ip address to scripts/vif-bridge by putting in guest config xml file, however, I found that libxlMakeNic(which located in libxl/libxl_conf.c:956) doesn't set x_nic->ip. So I patched myself but I'm not so sure about  VIR_DOMAIN_NET_TYPE_ETHERNET. It seems like vif-route