[libvirt-users] connecting host and guest vm using a dummy nic

2018-04-27 Thread daggs
Greetings all, I have a host machine that runs a router within a vm. I want to allow a connection between the host and the guest so the host can connect to the lan provided by the router vm. I've created a dummy interface with these commands: $ ip link add ens99-dummy type dummy $ ip link set ens

Re: [libvirt-users] [libvirt] ignore_value

2018-04-27 Thread Eric Blake
On 04/27/2018 11:15 AM, Eric Blake wrote: > On 04/27/2018 02:20 AM, gaosheng cui wrote: >> Hi,using ignore_value in libvirt source code >> to do function return value processing,but I >> can’t understand about it,can you give me some tips?thanks very much! > > Is your question about what ignore_va

Re: [libvirt-users] [libvirt] ignore_value

2018-04-27 Thread Eric Blake
On 04/27/2018 11:15 AM, Eric Blake wrote: > You can think of 'ignore_value(foo());' the same as '(void*)foo();', Typo, make that '(void)foo();' > except that the latter doesn't shut up all compilers. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualiza

Re: [libvirt-users] [libvirt] ignore_value

2018-04-27 Thread Eric Blake
On 04/27/2018 02:20 AM, gaosheng cui wrote: > Hi,using ignore_value in libvirt source code > to do function return value processing,but I > can’t understand about it,can you give me some tips?thanks very much! Is your question about what ignore_value() does? It exists solely to shut up compiler w

[libvirt-users] [libvirt] ignore_value

2018-04-27 Thread gaosheng cui
Hi,using ignore_value in libvirt source code to do function return value processing,but I can’t understand about it,can you give me some tips?thanks very much! ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo