libxl: refactor the FreeBSD hotplug script code
authorRoger Pau Monne <roger.pau@citrix.com>
Thu, 31 Mar 2016 12:56:38 +0000 (14:56 +0200)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 6 Apr 2016 14:50:45 +0000 (15:50 +0100)
commit6878c1427b9147f3a816d5fd1e063424883a2f24
tree5e5350f58350218bb553be165e5933c4cb3bc80e
parenta989f03607085a632f4247de2033b29ade8591db
libxl: refactor the FreeBSD hotplug script code

This factors out the nic hotplug specific code from the common code path in
order to make it easier to add support for disk hotplug scripts. It
shouldn't include any functional change.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl_freebsd.c