OSDN Git Service

stubs: Update monitor stubs for qemu-storage-daemon
authorKevin Wolf <kwolf@redhat.com>
Mon, 24 Feb 2020 14:30:02 +0000 (15:30 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 6 Mar 2020 16:21:28 +0000 (17:21 +0100)
commit6ede81d576ddc8e1f745494a51345328bd3f4d76
tree1d064865c02c29005ffcb5d9d96e696e8cc00d64
parent5e6911cf11e726e6a951824bed305191e568287a
stubs: Update monitor stubs for qemu-storage-daemon

Before we can add the monitor to qemu-storage-daemon, we need to add a
stubs for monitor_fdsets_cleanup().

We also need to make sure that stubs that are actually implemented in
the monitor core aren't linked to qemu-storage-daemon so that we don't
get linker errors because of duplicate symbols. This is achieved by
moving the stubs in question to a new file stubs/monitor-core.c.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20200224143008.13362-15-kwolf@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
stubs/Makefile.objs
stubs/monitor-core.c [new file with mode: 0644]
stubs/monitor.c