]> xenbits.xensource.com Git - people/larsk/xen.git/commit
libxl_pci: Extract common part of *qemu_trad_watch_state_cb
authorAnthony PERARD <anthony.perard@citrix.com>
Thu, 19 Sep 2019 16:52:24 +0000 (17:52 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Fri, 20 Sep 2019 09:42:43 +0000 (10:42 +0100)
commit3c58a6298217339e99f98e678dec5fcf19a03ce5
tree8768281ebdefa2effca1c27474449dfda875edff
parent81eefac15d8a6db4abd969a763f4b6a51dd3c6e4
libxl_pci: Extract common part of *qemu_trad_watch_state_cb

Functions pci_add_qemu_trad_watch_state_cb and
pci_remove_qemu_trad_watch_state_cb are similar so the common part is
extracted in a different function.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl_pci.c