Displaying 10 results from an estimated 10 matches for "device_ad".
Did you mean:
device_id
2019 Apr 09
2
Re: Network hooks for ethernet interfaces
...9;ll see what is the 'network' hook fed with
> (on stdin): info on domain in question AND network where the event
> ocurred. But there is no network, is it?
No not in the libvirt sense there isn't, you're right.
>
> But maybe you can work around this by waiting for
> DEVICE_ADDED/DEVICE_REMOVED events? What is it that you're trying to solve?
I'd like to enable proxy_arp on the interface among other things.
I can easily do this from the same script that adds the interface
though, so I have a workaround, but a hook that triggers on all
interface events felt cleane...
2019 Apr 09
2
Network hooks for ethernet interfaces
Hi all,
I have a hook script, /etc/libvirt/hooks/network, that doesn't seem to
be called when I attach an interface with type 'ethernet' with this
xml snippet:
<interface type='ethernet'>
<model type="virtio"/>
<source>
<ip address="10.100.0.1" prefix="24" peer="10.100.0.10"/>
</source>
2019 Apr 10
2
Re: Network hooks for ethernet interfaces
...t; (on stdin): info on domain in question AND network where the event
> >> ocurred. But there is no network, is it?
> >
> > No not in the libvirt sense there isn't, you're right.
> >>
> >> But maybe you can work around this by waiting for
> >> DEVICE_ADDED/DEVICE_REMOVED events? What is it that you're trying to solve?
> >
> > I'd like to enable proxy_arp on the interface among other things.
> > I can easily do this from the same script that adds the interface
> > though, so I have a workaround, but a hook that trigg...
2019 Apr 12
1
Re: Network hooks for ethernet interfaces
...the event
> > > >> ocurred. But there is no network, is it?
> > > >
> > > > No not in the libvirt sense there isn't, you're right.
> > > >>
> > > >> But maybe you can work around this by waiting for
> > > >> DEVICE_ADDED/DEVICE_REMOVED events? What is it that you're trying to solve?
> > > >
> > > > I'd like to enable proxy_arp on the interface among other things.
> > > > I can easily do this from the same script that adds the interface
> > > > though, so I...
2020 Oct 01
4
Determining when a guest booted / how long it's been running
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20200930/950e3814/attachment.htm>
2019 Apr 09
0
Re: Network hooks for ethernet interfaces
...doesn't call 'network' hook script. If
you'd continue reading you'll see what is the 'network' hook fed with
(on stdin): info on domain in question AND network where the event
ocurred. But there is no network, is it?
But maybe you can work around this by waiting for
DEVICE_ADDED/DEVICE_REMOVED events? What is it that you're trying to solve?
Michal
2019 Apr 10
0
Re: Network hooks for ethernet interfaces
...ork' hook fed with
>> (on stdin): info on domain in question AND network where the event
>> ocurred. But there is no network, is it?
>
> No not in the libvirt sense there isn't, you're right.
>>
>> But maybe you can work around this by waiting for
>> DEVICE_ADDED/DEVICE_REMOVED events? What is it that you're trying to solve?
>
> I'd like to enable proxy_arp on the interface among other things.
> I can easily do this from the same script that adds the interface
> though, so I have a workaround, but a hook that triggers on all
> int...
2020 Oct 01
0
Re: Determining when a guest booted / how long it's been running
...re are changes queued to take effect when the guest next reboots?
>
You can listen for events. For changes to inactive XML you will get
VIR_DOMAIN_EVENT_DEFINED+VIR_DOMAIN_EVENT_DEFINED_UPDATED lifecycle
event (+reason) and for changes to live XML (like hotplug and hotunplug)
you'll get DEVICE_ADDED or DEVICE_REMOVED.
But there is no API/virsh command that you could call to get the
timestamp of last modification. You have to listen for events.
And the second question - you can dump live and inactive XML and see if
there is any difference (modulo runtime configuration from live XML).
Th...
2019 Apr 11
0
Re: Network hooks for ethernet interfaces
...in question AND network where the event
> > >> ocurred. But there is no network, is it?
> > >
> > > No not in the libvirt sense there isn't, you're right.
> > >>
> > >> But maybe you can work around this by waiting for
> > >> DEVICE_ADDED/DEVICE_REMOVED events? What is it that you're trying to solve?
> > >
> > > I'd like to enable proxy_arp on the interface among other things.
> > > I can easily do this from the same script that adds the interface
> > > though, so I have a workaround, b...
2010 Mar 12
1
Problem with libvirt migration
...culateTimeout:343 : Timeout at 0 due in -1 ms
08:19:29.871: debug : virEventRunOnce:565 : Poll on 10 handles 0x2091480 timeout -1
08:19:29.872: debug : virEventRunOnce:567 : Poll got 2 event
08:19:29.872: debug : virEventDispatchHandles:450 : Dispatch n=2 f=8 w=3 e=1 0x2074e90
08:19:29.872: debug : device_added:513 : net_4a_cf_74_02_5d_6c
08:19:29.872: debug : virExecWithHook:607 : /usr/bin/kvm -S -M pc-0.11 -cpu qemu32 -m 256 -smp 1 -name base32 -uuid 2469118c-9b90-44e3-a6ce-01a08bfe28f5 -monitor unix:/var/run/libvirt/qemu/base32.monitor,server,nowait -boot c -drive file=/home/vms/base32/base32.vmdk,i...