qemu: Move some functions to qemu_capspriv.h

This header file has been created so that we can expose
internal functions to the test suite without making them
public: those in qemu_capabilities.h bearing the comment

  /* Only for use by test suite */

are obvious candidates for being moved over.
This commit is contained in:
Andrea Bolognani
2017-04-05 15:38:37 +02:00
parent 611ddefc16
commit 2e5de445a1
3 changed files with 26 additions and 19 deletions

View File

@@ -8,6 +8,10 @@
# include <stdlib.h>
# include "qemu/qemu_capabilities.h"
# define __QEMU_CAPSPRIV_H_ALLOW__
# include "qemu/qemu_capspriv.h"
# undef __QEMU_CAPSPRIV_H_ALLOW__
# include "viralloc.h"
# include "virstring.h"