Re: [vfio-users] Arch, Virt-manager and Network Manager [help needed]

2016-04-17 Thread Jonathan Scruggs
Network Manager has some serious bugs. The best way to create a bridge is
to delete all the networks from Network Manger. Then configure
systemd-networkd scripts. It's not hard. In fact, stupidly easy. Enable
systemd-networkd. Then add the bridge in Virt-Manager.

The Network Manager creation of a bridge is very unstable, which is the
opposite you want for a VM. Also, you have the added bonus of starting the
bridge earlier. I would share my scripts, but I'm in Spain away from my
desktop at the moment. I still use Network Manager to use OpenVPN easily.
The new versions of NW have a fix so they don't display networks they
didn't create, so you have no worry about messing up the networkd scripts.

Jon

On 16 April 2016 at 14:29, Garland Key  wrote:

> I'm running Arch with Plasma 5 and Network Manager.  AFAIK, the
> virt-manager package on Arch has broken networking.  I've successfully
> created a bridge using Network Manager, but I can't seem to add the bridge
> in virt-manager or via virsh.
>
> Is this possibe?  I need it for Synergy.  My mobo has two ethernet
> devices, but I don't have another cat5 cable atm.
>
> ___
> vfio-users mailing list
> vfio-users@redhat.com
> https://www.redhat.com/mailman/listinfo/vfio-users
>
>
___
vfio-users mailing list
vfio-users@redhat.com
https://www.redhat.com/mailman/listinfo/vfio-users


Re: [vfio-users] Arch, Virt-manager and Network Manager [help needed]

2016-04-16 Thread Philip Abernethy
That depends on where you want to define your network connection. Both is
possible.

Bronek Kozicki  schrieb am Sa., 16. Apr. 2016 um
15:51 Uhr:

> On 16/04/2016 14:00, Garland Key wrote:
> > Thanks.  Does this have to be listed in a particular part of the virsh
> XML?
> >
> > On Sat, Apr 16, 2016 at 8:34 AM, Philip Abernethy  > > wrote:
> >
> > I've done the same. Bridge created with NM and used by the VM. You
> > should be able to just select the bridge device. That's the
> > resulting XML for me:
> >
> > 
> >   default
> >   278badf4-d33e-493e-b604-083b3dcc2804
> >   
> >   
> > 
> >
>
>
> that was network definition, not virtual machine. I do not know why this
> is needed, I do not use those at all.
>
>
> B.
>
> ___
> vfio-users mailing list
> vfio-users@redhat.com
> https://www.redhat.com/mailman/listinfo/vfio-users
>
___
vfio-users mailing list
vfio-users@redhat.com
https://www.redhat.com/mailman/listinfo/vfio-users


Re: [vfio-users] Arch, Virt-manager and Network Manager [help needed]

2016-04-16 Thread Bronek Kozicki

On 16/04/2016 14:00, Garland Key wrote:

Thanks.  Does this have to be listed in a particular part of the virsh XML?

On Sat, Apr 16, 2016 at 8:34 AM, Philip Abernethy > wrote:

I've done the same. Bridge created with NM and used by the VM. You
should be able to just select the bridge device. That's the
resulting XML for me:


  default
  278badf4-d33e-493e-b604-083b3dcc2804
  
  





that was network definition, not virtual machine. I do not know why this 
is needed, I do not use those at all.



B.

___
vfio-users mailing list
vfio-users@redhat.com
https://www.redhat.com/mailman/listinfo/vfio-users


Re: [vfio-users] Arch, Virt-manager and Network Manager [help needed]

2016-04-16 Thread Bronek Kozicki

On 16/04/2016 13:34, Philip Abernethy wrote:

I've done the same. Bridge created with NM and used by the VM. You
should be able to just select the bridge device. That's the resulting
XML for me:


  default
  278badf4-d33e-493e-b604-083b3dcc2804
  
  





Here is xml of my VM, using "br0" bridge I defined with netctl:


  
  
  
  
  function='0x0'/>




I expect it does not matter how a bridge is defined, as long as it 
works. In /etc/libvirt/qemu.conf I have the below line:

bridge_helper = "/usr/lib/qemu/qemu-bridge-helper"


B.

___
vfio-users mailing list
vfio-users@redhat.com
https://www.redhat.com/mailman/listinfo/vfio-users


Re: [vfio-users] Arch, Virt-manager and Network Manager [help needed]

2016-04-16 Thread Philip Abernethy
I've done the same. Bridge created with NM and used by the VM. You should
be able to just select the bridge device. That's the resulting XML for me:


  default
  278badf4-d33e-493e-b604-083b3dcc2804
  
  


Garland Key  schrieb am Sa., 16. Apr. 2016 um
14:30 Uhr:

> I'm running Arch with Plasma 5 and Network Manager.  AFAIK, the
> virt-manager package on Arch has broken networking.  I've successfully
> created a bridge using Network Manager, but I can't seem to add the bridge
> in virt-manager or via virsh.
>
> Is this possibe?  I need it for Synergy.  My mobo has two ethernet
> devices, but I don't have another cat5 cable atm.
> ___
> vfio-users mailing list
> vfio-users@redhat.com
> https://www.redhat.com/mailman/listinfo/vfio-users
>
___
vfio-users mailing list
vfio-users@redhat.com
https://www.redhat.com/mailman/listinfo/vfio-users