dehesselle / virtctl

start/stop libvirt-based VMs with systemd
MIT License
11 stars 1 forks source link

investigate libvirt hook scripts mechanism #5

Open dehesselle opened 5 years ago

dehesselle commented 5 years ago

This is a todo from the readme. All todos from the readme have been moved to 'Issues'.

provide a hook script (see libvirt wiki) http://wiki.libvirt.org/page/Networking/#Forwarding_Incoming_Connections

I'm not exactly sure what I was referring to, but it was something related to the question "why am I not using libvirt's hook script mechanism". I'll take a look another look at it, document my reasoning and than I can close this.

dehesselle commented 5 years ago

libvirt's hooks "a QEMU guest is started or stopped" are pretty much what virtctl provides as "post start" and "post stop" actions. I'll start looking into this once v0.3 has been released.