!61 Enable werror for qemu and fix a building warning
Merge pull request !61 from FangYing/openEuler-20.03-LTS
This commit is contained in:
commit
c80e7e61dc
@ -274,10 +274,18 @@ index bd0eee79..a788ff0e 100644
|
|||||||
uint64_t ram_pagesize_summary(void);
|
uint64_t ram_pagesize_summary(void);
|
||||||
int ram_save_queue_pages(const char *rbname, ram_addr_t start, ram_addr_t len);
|
int ram_save_queue_pages(const char *rbname, ram_addr_t start, ram_addr_t len);
|
||||||
diff --git a/migration/socket.c b/migration/socket.c
|
diff --git a/migration/socket.c b/migration/socket.c
|
||||||
index 98efdc02..bc0960c6 100644
|
index 98efdc02..093b956b 100644
|
||||||
--- a/migration/socket.c
|
--- a/migration/socket.c
|
||||||
+++ b/migration/socket.c
|
+++ b/migration/socket.c
|
||||||
@@ -181,6 +181,12 @@ static void socket_start_incoming_migration(SocketAddress *saddr,
|
@@ -22,6 +22,7 @@
|
||||||
|
#include "channel.h"
|
||||||
|
#include "socket.h"
|
||||||
|
#include "migration.h"
|
||||||
|
+#include "ram.h"
|
||||||
|
#include "qemu-file.h"
|
||||||
|
#include "io/channel-socket.h"
|
||||||
|
#include "io/net-listener.h"
|
||||||
|
@@ -181,6 +182,12 @@ static void socket_start_incoming_migration(SocketAddress *saddr,
|
||||||
|
|
||||||
qio_net_listener_set_name(listener, "migration-socket-listener");
|
qio_net_listener_set_name(listener, "migration-socket-listener");
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
Name: qemu
|
Name: qemu
|
||||||
Version: 4.1.0
|
Version: 4.1.0
|
||||||
Release: 15
|
Release: 16
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
Summary: QEMU is a generic and open source machine emulator and virtualizer
|
Summary: QEMU is a generic and open source machine emulator and virtualizer
|
||||||
License: GPLv2 and BSD and MIT and CC-BY
|
License: GPLv2 and BSD and MIT and CC-BY
|
||||||
@ -308,7 +308,6 @@ buildldflags="VL_LDFLAGS=-Wl,--build-id"
|
|||||||
--with-pkgversion=%{name}-%{version}-%{release} \
|
--with-pkgversion=%{name}-%{version}-%{release} \
|
||||||
--python=/usr/bin/python3 \
|
--python=/usr/bin/python3 \
|
||||||
--disable-strip \
|
--disable-strip \
|
||||||
--disable-werror \
|
|
||||||
--disable-slirp \
|
--disable-slirp \
|
||||||
--enable-gtk \
|
--enable-gtk \
|
||||||
--enable-docs \
|
--enable-docs \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user