FS-Freeze only works with Linux.
Signed-off-by: Anthony Liguori<address@hidden>
---
Makefile | 2 +
hw/pc.c | 3 +-
qemu-char.c | 36 +++++++++++++++++++++++++
qemu-config.c | 6 ++++
qga/guest-agent-commands.c | 63 ++++++++++++++++++++++++++++++++++++-------
5 files changed, 97 insertions(+), 13 deletions(-)
diff --git a/Makefile b/Makefile
index f3a03ad..2e3231e 100644
--- a/Makefile
+++ b/Makefile
@@ -188,6 +188,8 @@ $(qapi-dir)/qga-qmp-marshal.c:
$(SRC_PATH)/qapi-schema-guest.json $(SRC_PATH)/sc
test-visitor.o: $(addprefix $(qapi-dir)/, test-qapi-types.c test-qapi-types.h
test-qapi-visit.c test-qapi-visit.h) $(qapi-obj-y)
test-visitor: test-visitor.o qfloat.o qint.o qdict.o qstring.o qlist.o
qbool.o $(qapi-obj-y) error.o osdep.o qemu-malloc.o $(oslib-obj-y) qjson.o
json-streamer.o json-lexer.o json-parser.o qerror.o qemu-error.o qemu-tool.o
$(qapi-dir)/test-qapi-visit.o $(qapi-dir)/test-qapi-types.o
+test-linux: test-linux.o
+