mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
colo: move stubs out of stubs/
Since the colo stubs are needed exactly when the build options are not enabled, move them together with the code they stub. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-ID: <20240408155330.522792-16-pbonzini@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
2c888febdf
commit
857f504cf2
5 changed files with 4 additions and 2 deletions
7
net/colo-stubs.c
Normal file
7
net/colo-stubs.c
Normal file
|
@ -0,0 +1,7 @@
|
|||
#include "qemu/osdep.h"
|
||||
#include "qemu/notify.h"
|
||||
#include "net/colo-compare.h"
|
||||
|
||||
void colo_compare_cleanup(void)
|
||||
{
|
||||
}
|
|
@ -20,6 +20,8 @@ if get_option('replication').allowed() or \
|
|||
get_option('colo_proxy').allowed()
|
||||
system_ss.add(files('colo-compare.c'))
|
||||
system_ss.add(files('colo.c'))
|
||||
else
|
||||
system_ss.add(files('colo-stubs.c'))
|
||||
endif
|
||||
|
||||
if get_option('colo_proxy').allowed()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue