[libvirt-users] Possible to edit/apply nwfilter at runtime?
Daniel P. Berrangé
berrange at redhat.com
Fri Feb 16 17:12:12 UTC 2018
On Fri, Feb 16, 2018 at 11:59:42AM -0500, Andre Goree wrote:
> I'm trying to determine if it's possible to edit/attach/apply nwfilter rules
> at runtime? I.e., after a VM is already running, can I apply a nwfilter to
> the VM and have it work without rebooting the machine? Thus far, I've not
> come across a way to do so, but I thought I'd ask here before I chase my
> tail around Google.
Simply re-define the nwfilter in question using virsh nwfilter-define.
Any VMs using that filter will automatically update.
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
More information about the libvirt-users
mailing list