Re: [libvirt-users] How to insert a dummy NIC

2019-03-11 Thread wferi
Laine Stump writes: > On 3/11/19 5:05 AM, wf...@niif.hu wrote: > >> Is there a way to "reserve" a bus address for such manually added >> devices without assigning explicit addresses to all other devices in >> the configuration? > > no, there's no way to do that; if a PCI address isn't used by a d

Re: [libvirt-users] How to insert a dummy NIC

2019-03-11 Thread Laine Stump
On 3/11/19 5:05 AM, wf...@niif.hu wrote: Hi, I have to host (with KVM) an appliance which does not use its second and third NIC. They have to be present in the guest, but they'd better stay totally disconnected from anything in the host. "Second" and "third" apparently means bus order. Let's

Re: [libvirt-users] Obtaining the PID of a domain's QEMU process from C

2019-03-11 Thread Daniel P . Berrangé
On Mon, Mar 11, 2019 at 10:49:45AM +0100, Erik Skultety wrote: > On Mon, Mar 11, 2019 at 09:46:11AM +, Daniel P. Berrangé wrote: > > On Mon, Mar 11, 2019 at 09:33:30AM +0100, Michal Privoznik wrote: > > > On 3/11/19 9:02 AM, Erik Skultety wrote: > > > > On Sat, Mar 09, 2019 at 04:32:00PM +0100,

Re: [libvirt-users] Obtaining the PID of a domain's QEMU process from C

2019-03-11 Thread Erik Skultety
On Mon, Mar 11, 2019 at 09:46:11AM +, Daniel P. Berrangé wrote: > On Mon, Mar 11, 2019 at 09:33:30AM +0100, Michal Privoznik wrote: > > On 3/11/19 9:02 AM, Erik Skultety wrote: > > > On Sat, Mar 09, 2019 at 04:32:00PM +0100, Michal Prívozník wrote: > > > > On 3/1/19 2:31 AM, Shawn Anastasio wro

Re: [libvirt-users] Obtaining the PID of a domain's QEMU process from C

2019-03-11 Thread Daniel P . Berrangé
On Mon, Mar 11, 2019 at 09:33:30AM +0100, Michal Privoznik wrote: > On 3/11/19 9:02 AM, Erik Skultety wrote: > > On Sat, Mar 09, 2019 at 04:32:00PM +0100, Michal Prívozník wrote: > > > On 3/1/19 2:31 AM, Shawn Anastasio wrote: > > > > Hello all, > > > > > > > > I'm currently writing a C program th

[libvirt-users] How to insert a dummy NIC

2019-03-11 Thread wferi
Hi, I have to host (with KVM) an appliance which does not use its second and third NIC. They have to be present in the guest, but they'd better stay totally disconnected from anything in the host. "Second" and "third" apparently means bus order. Let's consider virtio devices only. I think the

Re: [libvirt-users] Obtaining the PID of a domain's QEMU process from C

2019-03-11 Thread Michal Privoznik
On 3/11/19 9:02 AM, Erik Skultety wrote: On Sat, Mar 09, 2019 at 04:32:00PM +0100, Michal Prívozník wrote: On 3/1/19 2:31 AM, Shawn Anastasio wrote: Hello all, I'm currently writing a C program that uses the libvirt API and I need a way to obtain the pid of a given domain's QEMU process. Spec

Re: [libvirt-users] Obtaining the PID of a domain's QEMU process from C

2019-03-11 Thread Erik Skultety
On Sat, Mar 09, 2019 at 04:32:00PM +0100, Michal Prívozník wrote: > On 3/1/19 2:31 AM, Shawn Anastasio wrote: > > Hello all, > > > > I'm currently writing a C program that uses the libvirt API and I need a > > way to obtain the pid of a given domain's QEMU process. > > > > Specifically, I'm writing