Index: new/include/net/net.h
===================================================================
---- new.orig/include/net/net.h 2014-05-05 07:07:13.000000000 +0200
-+++ new/include/net/net.h 2014-05-05 07:07:23.000000000 +0200
-@@ -195,8 +195,9 @@
+--- new.orig/include/net/net.h 2014-06-17 06:14:28.000000000 +0200
++++ new/include/net/net.h 2014-06-17 06:14:50.000000000 +0200
+@@ -196,8 +196,9 @@
int net_hub_id_for_client(NetClientState *nc, int *id);
NetClientState *net_hub_port_find(int hub_id);
Index: new/net/tap_int.h
===================================================================
---- new.orig/net/tap_int.h 2014-05-05 07:07:13.000000000 +0200
-+++ new/net/tap_int.h 2014-05-05 07:07:23.000000000 +0200
+--- new.orig/net/tap_int.h 2014-06-17 06:14:28.000000000 +0200
++++ new/net/tap_int.h 2014-06-17 06:14:50.000000000 +0200
@@ -29,8 +29,6 @@
#include "qemu-common.h"
#include "qapi-types.h"
Index: new/qapi-schema.json
===================================================================
---- new.orig/qapi-schema.json 2014-06-12 11:39:32.000000000 +0200
-+++ new/qapi-schema.json 2014-06-12 11:51:17.000000000 +0200
+--- new.orig/qapi-schema.json 2014-06-17 06:15:07.000000000 +0200
++++ new/qapi-schema.json 2014-06-17 06:15:08.000000000 +0200
@@ -379,7 +379,7 @@
# @vma: Proxmox vma backup format
##
# @backup:
Index: new/blockdev.c
===================================================================
---- new.orig/blockdev.c 2014-06-12 11:49:28.000000000 +0200
-+++ new/blockdev.c 2014-06-12 12:05:39.000000000 +0200
+--- new.orig/blockdev.c 2014-06-17 06:15:07.000000000 +0200
++++ new/blockdev.c 2014-06-17 06:15:08.000000000 +0200
@@ -1902,6 +1902,8 @@
uint8_t dev_id;
//bool started;
Index: new/hmp-commands.hx
===================================================================
---- new.orig/hmp-commands.hx 2014-06-12 11:39:32.000000000 +0200
-+++ new/hmp-commands.hx 2014-06-12 11:51:17.000000000 +0200
+--- new.orig/hmp-commands.hx 2014-06-17 06:15:07.000000000 +0200
++++ new/hmp-commands.hx 2014-06-17 06:15:08.000000000 +0200
@@ -90,9 +90,11 @@
{
Index: new/hmp.c
===================================================================
---- new.orig/hmp.c 2014-06-12 11:39:32.000000000 +0200
-+++ new/hmp.c 2014-06-12 11:51:17.000000000 +0200
+--- new.orig/hmp.c 2014-06-17 06:15:07.000000000 +0200
++++ new/hmp.c 2014-06-17 06:15:08.000000000 +0200
@@ -1258,11 +1258,13 @@
{
Error *error = NULL;
Index: new/blockdev.c
===================================================================
---- new.orig/blockdev.c 2014-06-12 11:39:00.000000000 +0200
-+++ new/blockdev.c 2014-06-12 11:49:28.000000000 +0200
+--- new.orig/blockdev.c 2014-06-17 06:15:06.000000000 +0200
++++ new/blockdev.c 2014-06-17 06:15:07.000000000 +0200
@@ -44,6 +44,7 @@
#include "qmp-commands.h"
#include "trace.h"
bool has_on_error, BlockdevOnError on_error,
Index: new/hmp-commands.hx
===================================================================
---- new.orig/hmp-commands.hx 2014-06-12 10:19:18.000000000 +0200
-+++ new/hmp-commands.hx 2014-06-12 11:39:32.000000000 +0200
+--- new.orig/hmp-commands.hx 2014-06-17 06:14:27.000000000 +0200
++++ new/hmp-commands.hx 2014-06-17 06:15:07.000000000 +0200
@@ -88,6 +88,35 @@
Copy data from a backing file into a block device.
ETEXI
@item info migrate_capabilities
Index: new/hmp.c
===================================================================
---- new.orig/hmp.c 2014-06-12 10:50:04.000000000 +0200
-+++ new/hmp.c 2014-06-12 11:39:32.000000000 +0200
+--- new.orig/hmp.c 2014-06-17 06:14:58.000000000 +0200
++++ new/hmp.c 2014-06-17 06:15:07.000000000 +0200
@@ -135,6 +135,44 @@
qapi_free_MouseInfoList(mice_list);
}
{
Index: new/hmp.h
===================================================================
---- new.orig/hmp.h 2014-06-12 10:19:18.000000000 +0200
-+++ new/hmp.h 2014-06-12 11:39:32.000000000 +0200
+--- new.orig/hmp.h 2014-06-17 06:14:27.000000000 +0200
++++ new/hmp.h 2014-06-17 06:15:07.000000000 +0200
@@ -29,6 +29,7 @@
void hmp_info_migrate(Monitor *mon, const QDict *qdict);
void hmp_info_migrate_capabilities(Monitor *mon, const QDict *qdict);
void hmp_block_job_pause(Monitor *mon, const QDict *qdict);
Index: new/monitor.c
===================================================================
---- new.orig/monitor.c 2014-06-12 10:19:18.000000000 +0200
-+++ new/monitor.c 2014-06-12 11:39:32.000000000 +0200
+--- new.orig/monitor.c 2014-06-17 06:14:27.000000000 +0200
++++ new/monitor.c 2014-06-17 06:15:07.000000000 +0200
@@ -2897,6 +2897,13 @@
},
#endif
.params = "",
Index: new/qapi-schema.json
===================================================================
---- new.orig/qapi-schema.json 2014-06-12 11:13:26.000000000 +0200
-+++ new/qapi-schema.json 2014-06-12 11:39:32.000000000 +0200
+--- new.orig/qapi-schema.json 2014-06-17 06:15:00.000000000 +0200
++++ new/qapi-schema.json 2014-06-17 06:15:07.000000000 +0200
@@ -340,6 +340,95 @@
##
{ 'command': 'query-events', 'returns': ['EventInfo'] }
#
Index: new/qmp-commands.hx
===================================================================
---- new.orig/qmp-commands.hx 2014-06-12 10:50:04.000000000 +0200
-+++ new/qmp-commands.hx 2014-06-12 11:39:32.000000000 +0200
+--- new.orig/qmp-commands.hx 2014-06-17 06:14:58.000000000 +0200
++++ new/qmp-commands.hx 2014-06-17 06:15:07.000000000 +0200
@@ -1080,6 +1080,24 @@
EQMP
Index: new/Makefile
===================================================================
---- new.orig/Makefile 2014-06-12 10:19:18.000000000 +0200
-+++ new/Makefile 2014-06-12 11:17:40.000000000 +0200
+--- new.orig/Makefile 2014-06-17 06:14:27.000000000 +0200
++++ new/Makefile 2014-06-17 06:15:02.000000000 +0200
@@ -146,7 +146,7 @@
include $(SRC_PATH)/libcacard/Makefile
endif
Index: new/vma-reader.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ new/vma-reader.c 2014-06-12 11:17:40.000000000 +0200
++++ new/vma-reader.c 2014-06-17 06:15:02.000000000 +0200
@@ -0,0 +1,799 @@
+/*
+ * VMA: Virtual Machine Archive
Index: new/vma-writer.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ new/vma-writer.c 2014-06-12 11:17:40.000000000 +0200
++++ new/vma-writer.c 2014-06-17 06:15:02.000000000 +0200
@@ -0,0 +1,875 @@
+/*
+ * VMA: Virtual Machine Archive
Index: new/vma.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ new/vma.c 2014-06-12 11:37:50.000000000 +0200
++++ new/vma.c 2014-06-17 06:15:02.000000000 +0200
@@ -0,0 +1,583 @@
+/*
+ * VMA: Virtual Machine Archive
Index: new/vma.h
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ new/vma.h 2014-06-12 11:17:40.000000000 +0200
++++ new/vma.h 2014-06-17 06:15:02.000000000 +0200
@@ -0,0 +1,146 @@
+/*
+ * VMA: Virtual Machine Archive
+#endif /* BACKUP_VMA_H */
Index: new/Makefile.objs
===================================================================
---- new.orig/Makefile.objs 2014-06-12 10:19:18.000000000 +0200
-+++ new/Makefile.objs 2014-06-12 11:17:40.000000000 +0200
+--- new.orig/Makefile.objs 2014-06-17 06:14:27.000000000 +0200
++++ new/Makefile.objs 2014-06-17 06:15:02.000000000 +0200
@@ -14,6 +14,7 @@
block-obj-y += block/
block-obj-y += qapi-types.o qapi-visit.o
Index: new/vma-reader.c
===================================================================
---- new.orig/vma-reader.c 2014-05-05 08:19:03.000000000 +0200
-+++ new/vma-reader.c 2014-05-05 08:21:52.000000000 +0200
+--- new.orig/vma-reader.c 2014-06-17 06:15:02.000000000 +0200
++++ new/vma-reader.c 2014-06-17 06:15:03.000000000 +0200
@@ -53,6 +53,8 @@
time_t start_time;
int64_t cluster_count;
+
Index: new/vma.c
===================================================================
---- new.orig/vma.c 2014-05-05 08:19:03.000000000 +0200
-+++ new/vma.c 2014-05-05 08:21:52.000000000 +0200
+--- new.orig/vma.c 2014-06-17 06:15:02.000000000 +0200
++++ new/vma.c 2014-06-17 06:15:03.000000000 +0200
@@ -34,6 +34,7 @@
"vma list <filename>\n"
"vma create <filename> [-c config] <archive> pathname ...\n"
typedef struct BackupJob {
BlockDriverState *bs;
int64_t len;
-@@ -572,6 +625,8 @@
+@@ -576,6 +629,8 @@
return create_archive(argc, argv);
} else if (!strcmp(cmdname, "extract")) {
return extract_content(argc, argv);
help();
Index: new/vma.h
===================================================================
---- new.orig/vma.h 2014-05-05 08:19:03.000000000 +0200
-+++ new/vma.h 2014-05-05 08:21:52.000000000 +0200
+--- new.orig/vma.h 2014-06-17 06:15:02.000000000 +0200
++++ new/vma.h 2014-06-17 06:15:03.000000000 +0200
@@ -142,5 +142,6 @@
Error **errp);
int vma_reader_restore(VmaReader *vmar, int vmstate_fd, bool verbose,
Index: new/blockdev.c
===================================================================
---- new.orig/blockdev.c 2014-05-05 09:36:50.000000000 +0200
-+++ new/blockdev.c 2014-05-05 09:40:22.000000000 +0200
-@@ -1862,6 +1862,11 @@
+--- new.orig/blockdev.c 2014-06-17 06:15:08.000000000 +0200
++++ new/blockdev.c 2014-06-17 06:15:09.000000000 +0200
+@@ -1914,6 +1914,11 @@
{
PVEBackupDevInfo *di = opaque;
if (sector_num & 0x7f) {
if (!backup_state.error) {
error_setg(&backup_state.error,
-@@ -1872,7 +1877,6 @@
+@@ -1924,7 +1929,6 @@
}
int64_t cluster_num = sector_num >> 7;
int ret = -1;
-@@ -1880,17 +1884,27 @@
+@@ -1932,17 +1936,27 @@
size_t zero_bytes = 0;
ret = vma_writer_write(backup_state.vmaw, di->dev_id, cluster_num,
buf, &zero_bytes);
}
static void pvebackup_cleanup(void)
-@@ -1962,7 +1976,7 @@
+@@ -2014,7 +2028,7 @@
BlockJob *job = di->bs->job;
if (job) {
if (!di->completed) {
Index: new/block/backup.c
===================================================================
---- new.orig/block/backup.c 2014-05-05 06:55:25.000000000 +0200
-+++ new/block/backup.c 2014-05-05 09:24:11.000000000 +0200
+--- new.orig/block/backup.c 2014-06-17 06:14:27.000000000 +0200
++++ new/block/backup.c 2014-06-17 06:15:06.000000000 +0200
@@ -39,6 +39,7 @@
BlockDriverState *target;
MirrorSyncMode sync_mode;
qemu_coroutine_enter(job->common.co, job);
Index: new/blockdev.c
===================================================================
---- new.orig/blockdev.c 2014-05-05 06:55:26.000000000 +0200
-+++ new/blockdev.c 2014-05-05 09:16:48.000000000 +0200
-@@ -2030,7 +2030,7 @@
+--- new.orig/blockdev.c 2014-06-17 06:14:27.000000000 +0200
++++ new/blockdev.c 2014-06-17 06:15:06.000000000 +0200
+@@ -2089,7 +2089,7 @@
}
backup_start(bs, target_bs, speed, sync, on_source_error, on_target_error,
error_propagate(errp, local_err);
Index: new/include/block/block_int.h
===================================================================
---- new.orig/include/block/block_int.h 2014-05-05 06:55:26.000000000 +0200
-+++ new/include/block/block_int.h 2014-05-05 09:16:48.000000000 +0200
+--- new.orig/include/block/block_int.h 2014-06-17 06:14:27.000000000 +0200
++++ new/include/block/block_int.h 2014-06-17 06:15:06.000000000 +0200
@@ -55,6 +55,9 @@
#define BLOCK_OPT_ADAPTER_TYPE "adapter_type"
#define BLOCK_OPT_REDUNDANCY "redundancy"
typedef struct BdrvTrackedRequest {
BlockDriverState *bs;
int64_t offset;
-@@ -496,7 +499,9 @@
+@@ -532,7 +535,9 @@
int64_t speed, MirrorSyncMode sync_mode,
BlockdevOnError on_source_error,
BlockdevOnError on_target_error,
Index: new/vma.c
===================================================================
---- new.orig/vma.c 2013-12-04 10:47:53.000000000 +0100
-+++ new/vma.c 2013-12-04 10:47:57.000000000 +0100
+--- new.orig/vma.c 2014-06-17 06:15:03.000000000 +0200
++++ new/vma.c 2014-06-17 06:15:04.000000000 +0200
@@ -32,6 +32,7 @@
"usage: vma command [command options]\n"
"\n"
"vma create <filename> [-c config] <archive> pathname ...\n"
"vma extract <filename> [-r <fifo>] <targetdir>\n"
"vma verify <filename> [-v]\n"
-@@ -601,6 +602,67 @@
+@@ -605,6 +606,67 @@
return 0;
}
int main(int argc, char **argv)
{
const char *cmdname;
-@@ -627,6 +689,8 @@
+@@ -631,6 +693,8 @@
return extract_content(argc, argv);
} else if (!strcmp(cmdname, "verify")) {
return verify_content(argc, argv);
Index: new/vma-reader.c
===================================================================
---- new.orig/vma-reader.c 2014-05-05 09:15:31.000000000 +0200
-+++ new/vma-reader.c 2014-05-05 09:45:24.000000000 +0200
+--- new.orig/vma-reader.c 2014-06-17 06:15:05.000000000 +0200
++++ new/vma-reader.c 2014-06-17 06:15:13.000000000 +0200
@@ -334,11 +334,6 @@
}
}
return ret;
Index: new/vma-writer.c
===================================================================
---- new.orig/vma-writer.c 2014-05-05 09:41:57.000000000 +0200
-+++ new/vma-writer.c 2014-05-05 09:45:24.000000000 +0200
+--- new.orig/vma-writer.c 2014-06-17 06:15:10.000000000 +0200
++++ new/vma-writer.c 2014-06-17 06:15:13.000000000 +0200
@@ -257,7 +257,7 @@
}
return open_drives;
Index: new/vma.c
===================================================================
---- new.orig/vma.c 2014-05-05 08:22:49.000000000 +0200
-+++ new/vma.c 2014-05-05 09:45:24.000000000 +0200
+--- new.orig/vma.c 2014-06-17 06:15:04.000000000 +0200
++++ new/vma.c 2014-06-17 06:15:13.000000000 +0200
@@ -33,7 +33,7 @@
"\n"
"vma list <filename>\n"
+ path = extract_devname(path, &devname, devcount++);
BlockDriver *drv = NULL;
- BlockDriverState *bs = bdrv_new(devname);
-@@ -546,37 +558,42 @@
+ Error *errp = NULL;
+@@ -550,37 +562,42 @@
int percent = 0;
int last_percent = -1;
bdrv_drain_all();
Index: new/vma.h
===================================================================
---- new.orig/vma.h 2014-05-05 09:41:01.000000000 +0200
-+++ new/vma.h 2014-05-05 09:45:24.000000000 +0200
+--- new.orig/vma.h 2014-06-17 06:15:09.000000000 +0200
++++ new/vma.h 2014-06-17 06:15:13.000000000 +0200
@@ -128,6 +128,7 @@
size_t *zero_bytes);
Index: new/vma-writer.c
===================================================================
---- new.orig/vma-writer.c 2014-05-05 08:19:03.000000000 +0200
-+++ new/vma-writer.c 2014-05-05 09:41:01.000000000 +0200
+--- new.orig/vma-writer.c 2014-06-17 06:15:02.000000000 +0200
++++ new/vma-writer.c 2014-06-17 06:15:09.000000000 +0200
@@ -797,6 +797,13 @@
return transferred;
}
g_assert(vmaw != NULL);
Index: new/vma.h
===================================================================
---- new.orig/vma.h 2014-05-05 08:21:52.000000000 +0200
-+++ new/vma.h 2014-05-05 09:41:01.000000000 +0200
+--- new.orig/vma.h 2014-06-17 06:15:03.000000000 +0200
++++ new/vma.h 2014-06-17 06:15:09.000000000 +0200
@@ -116,6 +116,7 @@
VmaWriter *vma_writer_create(const char *filename, uuid_t uuid, Error **errp);
size_t len);
Index: new/blockdev.c
===================================================================
---- new.orig/blockdev.c 2014-05-05 09:40:22.000000000 +0200
-+++ new/blockdev.c 2014-05-05 09:41:01.000000000 +0200
-@@ -1886,7 +1886,7 @@
+--- new.orig/blockdev.c 2014-06-17 06:15:09.000000000 +0200
++++ new/blockdev.c 2014-06-17 06:15:09.000000000 +0200
+@@ -1938,7 +1938,7 @@
buf, &zero_bytes);
if (ret < 0) {
if (!backup_state.error) {
Index: new/vma-writer.c
===================================================================
---- new.orig/vma-writer.c 2014-05-05 09:41:01.000000000 +0200
-+++ new/vma-writer.c 2014-05-05 09:41:57.000000000 +0200
+--- new.orig/vma-writer.c 2014-06-17 06:15:09.000000000 +0200
++++ new/vma-writer.c 2014-06-17 06:15:10.000000000 +0200
@@ -33,14 +33,8 @@
do { if (DEBUG_VMA) { printf("vma: " fmt, ## __VA_ARGS__); } } while (0)
}
Index: new/blockdev.c
===================================================================
---- new.orig/blockdev.c 2014-05-05 09:41:01.000000000 +0200
-+++ new/blockdev.c 2014-05-05 09:41:57.000000000 +0200
-@@ -1965,6 +1965,11 @@
+--- new.orig/blockdev.c 2014-06-17 06:15:09.000000000 +0200
++++ new/blockdev.c 2014-06-17 06:15:10.000000000 +0200
+@@ -2017,6 +2017,11 @@
error_setg(&backup_state.error, "backup cancelled");
}
/* drain all i/o (awake jobs waiting for aio) */
bdrv_drain_all();
-@@ -1977,6 +1982,7 @@
+@@ -2029,6 +2034,7 @@
if (job) {
if (!di->completed) {
block_job_cancel_sync(job);
vma-reader.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
-diff --git a/vma-reader.c b/vma-reader.c
-index a740f04..69e7578 100644
---- a/vma-reader.c
-+++ b/vma-reader.c
-@@ -465,7 +465,13 @@ int vma_reader_register_bs(VmaReader *vmar, guint8 dev_id, BlockDriverState *bs,
+Index: new/vma-reader.c
+===================================================================
+--- new.orig/vma-reader.c 2014-06-17 06:15:03.000000000 +0200
++++ new/vma-reader.c 2014-06-17 06:15:05.000000000 +0200
+@@ -465,7 +465,13 @@
assert(vmar->rstate[dev_id].bs == NULL);
int64_t size = bdrv_getlength(bs);
error_setg(errp, "vma_reader_register_bs for stream %s failed - "
"unexpected size %zd != %zd", vmar->devinfo[dev_id].devname,
size, vmar->devinfo[dev_id].size);
---
-1.7.2.5
-
Index: new/hw/net/e1000.c
===================================================================
---- new.orig/hw/net/e1000.c 2014-05-05 06:55:25.000000000 +0200
-+++ new/hw/net/e1000.c 2014-05-05 10:05:59.000000000 +0200
-@@ -1571,7 +1571,7 @@
+--- new.orig/hw/net/e1000.c 2014-06-17 06:14:27.000000000 +0200
++++ new/hw/net/e1000.c 2014-06-17 06:15:12.000000000 +0200
+@@ -1583,7 +1583,7 @@
k->init = pci_e1000_init;
k->exit = pci_e1000_uninit;
- k->romfile = "efi-e1000.rom";
+ k->romfile = "pxe-e1000.rom";
k->vendor_id = PCI_VENDOR_ID_INTEL;
- k->device_id = E1000_DEVID;
- k->revision = 0x03;
+ k->device_id = info->device_id;
+ k->revision = info->revision;
Index: new/hw/net/ne2000.c
===================================================================
---- new.orig/hw/net/ne2000.c 2014-05-05 06:55:25.000000000 +0200
-+++ new/hw/net/ne2000.c 2014-05-05 10:05:59.000000000 +0200
+--- new.orig/hw/net/ne2000.c 2014-06-17 06:14:27.000000000 +0200
++++ new/hw/net/ne2000.c 2014-06-17 06:15:12.000000000 +0200
@@ -767,7 +767,7 @@
k->init = pci_ne2000_init;
k->class_id = PCI_CLASS_NETWORK_ETHERNET;
Index: new/hw/net/pcnet-pci.c
===================================================================
---- new.orig/hw/net/pcnet-pci.c 2014-05-05 06:55:25.000000000 +0200
-+++ new/hw/net/pcnet-pci.c 2014-05-05 10:05:59.000000000 +0200
+--- new.orig/hw/net/pcnet-pci.c 2014-06-17 06:14:27.000000000 +0200
++++ new/hw/net/pcnet-pci.c 2014-06-17 06:15:12.000000000 +0200
@@ -359,7 +359,7 @@
k->init = pci_pcnet_init;
k->revision = 0x10;
Index: new/hw/net/rtl8139.c
===================================================================
---- new.orig/hw/net/rtl8139.c 2014-05-05 06:55:25.000000000 +0200
-+++ new/hw/net/rtl8139.c 2014-05-05 10:05:59.000000000 +0200
+--- new.orig/hw/net/rtl8139.c 2014-06-17 06:14:27.000000000 +0200
++++ new/hw/net/rtl8139.c 2014-06-17 06:15:12.000000000 +0200
@@ -3560,7 +3560,7 @@
k->init = pci_rtl8139_init;
k->revision = RTL8139_PCI_REVID; /* >=0x20 is for 8139C+ */
Index: new/hw/virtio/virtio-pci.c
===================================================================
---- new.orig/hw/virtio/virtio-pci.c 2014-05-05 06:55:25.000000000 +0200
-+++ new/hw/virtio/virtio-pci.c 2014-05-05 10:05:59.000000000 +0200
+--- new.orig/hw/virtio/virtio-pci.c 2014-06-17 06:14:27.000000000 +0200
++++ new/hw/virtio/virtio-pci.c 2014-06-17 06:15:12.000000000 +0200
@@ -1445,7 +1445,7 @@
PCIDeviceClass *k = PCI_DEVICE_CLASS(klass);
VirtioPCIClass *vpciklass = VIRTIO_PCI_CLASS(klass);
Index: new/vl.c
===================================================================
---- new.orig/vl.c 2014-05-05 07:24:10.000000000 +0200
-+++ new/vl.c 2014-05-05 07:34:04.000000000 +0200
-@@ -2729,8 +2729,8 @@
+--- new.orig/vl.c 2014-06-17 06:14:54.000000000 +0200
++++ new/vl.c 2014-06-17 06:14:57.000000000 +0200
+@@ -2754,8 +2754,8 @@
p = qemu_opt_get(qemu_get_machine_opts(), "accel");
if (p == NULL) {
Index: new/qemu-options.hx
===================================================================
---- new.orig/qemu-options.hx 2014-05-05 07:07:11.000000000 +0200
-+++ new/qemu-options.hx 2014-05-05 07:13:45.000000000 +0200
-@@ -363,6 +363,12 @@
+--- new.orig/qemu-options.hx 2014-06-17 06:14:28.000000000 +0200
++++ new/qemu-options.hx 2014-06-17 06:14:52.000000000 +0200
+@@ -366,6 +366,12 @@
@table @option
ETEXI
DEF("fdb", HAS_ARG, QEMU_OPTION_fdb, "", QEMU_ARCH_ALL)
Index: new/vl.c
===================================================================
---- new.orig/vl.c 2014-05-05 07:07:11.000000000 +0200
-+++ new/vl.c 2014-05-05 07:13:45.000000000 +0200
+--- new.orig/vl.c 2014-06-17 06:14:28.000000000 +0200
++++ new/vl.c 2014-06-17 06:14:52.000000000 +0200
@@ -102,6 +102,8 @@
#endif
#include "sysemu/qtest.h"
int smp_cpus = 1;
int max_cpus = 0;
int smp_cores = 1;
-@@ -2930,6 +2933,9 @@
+@@ -2956,6 +2959,9 @@
int main(int argc, char **argv, char **envp)
{
int i;
int snapshot, linux_boot;
const char *icount_option = NULL;
const char *initrd_filename;
-@@ -3677,6 +3683,21 @@
+@@ -3731,6 +3737,21 @@
exit(1);
}
break;
case QEMU_OPTION_vnc:
#ifdef CONFIG_VNC
display_remote++;
-@@ -4268,6 +4289,39 @@
+@@ -4332,6 +4353,39 @@
}
}
Index: new/vzsyscalls.h
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ new/vzsyscalls.h 2014-05-05 07:13:45.000000000 +0200
++++ new/vzsyscalls.h 2014-06-17 06:14:52.000000000 +0200
@@ -0,0 +1,47 @@
+/*
+ * Copyright (C) 2000-2008, Parallels, Inc. All rights reserved.
Index: new/qemu-img.c
===================================================================
---- new.orig/qemu-img.c 2014-05-05 06:55:26.000000000 +0200
-+++ new/qemu-img.c 2014-05-05 07:33:18.000000000 +0200
-@@ -1897,7 +1897,8 @@
+--- new.orig/qemu-img.c 2014-06-17 06:14:28.000000000 +0200
++++ new/qemu-img.c 2014-06-17 06:14:56.000000000 +0200
+@@ -1939,7 +1939,8 @@
list = collect_image_info_list(filename, fmt, chain);
if (!list) {
Index: new/pc-bios/keymaps/fr-ca
===================================================================
---- new.orig/pc-bios/keymaps/fr-ca 2012-09-24 07:15:00.000000000 +0200
-+++ new/pc-bios/keymaps/fr-ca 2012-09-24 07:15:04.000000000 +0200
+--- new.orig/pc-bios/keymaps/fr-ca 2014-06-17 06:14:28.000000000 +0200
++++ new/pc-bios/keymaps/fr-ca 2014-06-17 06:14:35.000000000 +0200
@@ -14,22 +14,31 @@
twosuperior 0x9 altgr
threesuperior 0xa altgr
Index: new/Makefile.objs
===================================================================
---- new.orig/Makefile.objs 2014-06-12 11:17:40.000000000 +0200
-+++ new/Makefile.objs 2014-06-12 12:08:10.000000000 +0200
+--- new.orig/Makefile.objs 2014-06-17 06:15:02.000000000 +0200
++++ new/Makefile.objs 2014-06-17 06:15:11.000000000 +0200
@@ -57,6 +57,7 @@
common-obj-y += qemu-char.o #aio.o
common-obj-y += block-migration.o
Index: new/block.c
===================================================================
---- new.orig/block.c 2014-06-12 10:19:18.000000000 +0200
-+++ new/block.c 2014-06-12 12:08:10.000000000 +0200
+--- new.orig/block.c 2014-06-17 06:14:27.000000000 +0200
++++ new/block.c 2014-06-17 06:15:11.000000000 +0200
@@ -2077,7 +2077,7 @@
bdrv_set_backing_hd(bs_top, bs_new);
}
assert(!bs->job);
Index: new/hmp-commands.hx
===================================================================
---- new.orig/hmp-commands.hx 2014-06-12 11:51:17.000000000 +0200
-+++ new/hmp-commands.hx 2014-06-12 12:08:10.000000000 +0200
+--- new.orig/hmp-commands.hx 2014-06-17 06:15:08.000000000 +0200
++++ new/hmp-commands.hx 2014-06-17 06:15:11.000000000 +0200
@@ -1803,6 +1803,8 @@
show current migration capabilities
@item info migrate_cache_size
+ },
Index: new/hmp.c
===================================================================
---- new.orig/hmp.c 2014-06-12 11:51:17.000000000 +0200
-+++ new/hmp.c 2014-06-12 12:08:10.000000000 +0200
+--- new.orig/hmp.c 2014-06-17 06:15:08.000000000 +0200
++++ new/hmp.c 2014-06-17 06:15:11.000000000 +0200
@@ -1767,3 +1767,60 @@
qmp_object_del(id, &err);
hmp_handle_error(mon, &err);
+}
Index: new/hmp.h
===================================================================
---- new.orig/hmp.h 2014-06-12 11:39:32.000000000 +0200
-+++ new/hmp.h 2014-06-12 12:08:10.000000000 +0200
+--- new.orig/hmp.h 2014-06-17 06:15:07.000000000 +0200
++++ new/hmp.h 2014-06-17 06:15:11.000000000 +0200
@@ -26,6 +26,7 @@
void hmp_info_uuid(Monitor *mon, const QDict *qdict);
void hmp_info_chardev(Monitor *mon, const QDict *qdict);
void hmp_nbd_server_start(Monitor *mon, const QDict *qdict);
Index: new/include/block/block.h
===================================================================
---- new.orig/include/block/block.h 2014-06-12 10:19:18.000000000 +0200
-+++ new/include/block/block.h 2014-06-12 12:08:10.000000000 +0200
+--- new.orig/include/block/block.h 2014-06-17 06:14:27.000000000 +0200
++++ new/include/block/block.h 2014-06-17 06:15:11.000000000 +0200
@@ -279,6 +279,7 @@
const char *backing_file);
int bdrv_get_backing_file_depth(BlockDriverState *bs);
void bdrv_get_geometry(BlockDriverState *bs, uint64_t *nb_sectors_ptr);
Index: new/include/sysemu/sysemu.h
===================================================================
---- new.orig/include/sysemu/sysemu.h 2014-06-12 10:19:18.000000000 +0200
-+++ new/include/sysemu/sysemu.h 2014-06-12 12:08:10.000000000 +0200
+--- new.orig/include/sysemu/sysemu.h 2014-06-17 06:14:27.000000000 +0200
++++ new/include/sysemu/sysemu.h 2014-06-17 06:15:11.000000000 +0200
@@ -73,16 +73,17 @@
void do_savevm(Monitor *mon, const QDict *qdict);
int qemu_loadvm_state(QEMUFile *f);
Index: new/monitor.c
===================================================================
---- new.orig/monitor.c 2014-06-12 11:39:32.000000000 +0200
-+++ new/monitor.c 2014-06-12 12:08:10.000000000 +0200
+--- new.orig/monitor.c 2014-06-17 06:15:07.000000000 +0200
++++ new/monitor.c 2014-06-17 06:15:11.000000000 +0200
@@ -2925,6 +2925,13 @@
.mhandler.cmd = hmp_info_migrate_cache_size,
},
.params = "",
Index: new/qapi-schema.json
===================================================================
---- new.orig/qapi-schema.json 2014-06-12 11:51:17.000000000 +0200
-+++ new/qapi-schema.json 2014-06-12 12:08:10.000000000 +0200
+--- new.orig/qapi-schema.json 2014-06-17 06:15:08.000000000 +0200
++++ new/qapi-schema.json 2014-06-17 06:15:11.000000000 +0200
@@ -538,6 +538,42 @@
'*downtime': 'int',
'*setup-time': 'int'} }
#
Index: new/qemu-options.hx
===================================================================
---- new.orig/qemu-options.hx 2014-06-12 10:39:20.000000000 +0200
-+++ new/qemu-options.hx 2014-06-12 12:08:10.000000000 +0200
+--- new.orig/qemu-options.hx 2014-06-17 06:14:52.000000000 +0200
++++ new/qemu-options.hx 2014-06-17 06:15:11.000000000 +0200
@@ -2838,6 +2838,19 @@
Start right away with a saved state (@code{loadvm} in monitor)
ETEXI
"-daemonize daemonize QEMU after initializing\n", QEMU_ARCH_ALL)
Index: new/qmp-commands.hx
===================================================================
---- new.orig/qmp-commands.hx 2014-06-12 11:39:32.000000000 +0200
-+++ new/qmp-commands.hx 2014-06-12 12:08:10.000000000 +0200
+--- new.orig/qmp-commands.hx 2014-06-17 06:15:07.000000000 +0200
++++ new/qmp-commands.hx 2014-06-17 06:15:11.000000000 +0200
@@ -3603,3 +3603,34 @@
} } ] }
Index: new/savevm-async.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ new/savevm-async.c 2014-06-12 12:38:38.000000000 +0200
++++ new/savevm-async.c 2014-06-17 06:15:11.000000000 +0200
@@ -0,0 +1,486 @@
+#include "qemu-common.h"
+#include "qapi/qmp/qerror.h"
+}
Index: new/savevm.c
===================================================================
---- new.orig/savevm.c 2014-06-12 10:19:18.000000000 +0200
-+++ new/savevm.c 2014-06-12 12:08:10.000000000 +0200
+--- new.orig/savevm.c 2014-06-17 06:14:27.000000000 +0200
++++ new/savevm.c 2014-06-17 06:15:11.000000000 +0200
@@ -461,11 +461,11 @@
return false;
}
uint64_t qemu_savevm_state_pending(QEMUFile *f, uint64_t max_size)
Index: new/vl.c
===================================================================
---- new.orig/vl.c 2014-06-12 11:09:49.000000000 +0200
-+++ new/vl.c 2014-06-12 12:08:10.000000000 +0200
+--- new.orig/vl.c 2014-06-17 06:15:00.000000000 +0200
++++ new/vl.c 2014-06-17 06:15:11.000000000 +0200
@@ -2979,6 +2979,7 @@
int optind;
const char *optarg;
Index: new/ui/vnc.c
===================================================================
---- new.orig/ui/vnc.c 2014-06-12 10:19:19.000000000 +0200
-+++ new/ui/vnc.c 2014-06-12 10:47:24.000000000 +0200
+--- new.orig/ui/vnc.c 2014-06-17 06:14:28.000000000 +0200
++++ new/ui/vnc.c 2014-06-17 06:14:54.000000000 +0200
@@ -1626,6 +1626,10 @@
static void do_key_event(VncState *vs, int down, int keycode, int sym)
Index: new/qapi-schema.json
===================================================================
---- new.orig/qapi-schema.json 2014-06-12 10:50:04.000000000 +0200
-+++ new/qapi-schema.json 2014-06-12 10:53:30.000000000 +0200
+--- new.orig/qapi-schema.json 2014-06-17 06:14:58.000000000 +0200
++++ new/qapi-schema.json 2014-06-17 06:15:00.000000000 +0200
@@ -2241,6 +2241,8 @@
#
# @default: #optional whether the machine is default
# @query-machines:
Index: new/vl.c
===================================================================
---- new.orig/vl.c 2014-06-12 10:49:25.000000000 +0200
-+++ new/vl.c 2014-06-12 11:09:49.000000000 +0200
+--- new.orig/vl.c 2014-06-17 06:14:57.000000000 +0200
++++ new/vl.c 2014-06-17 06:15:00.000000000 +0200
@@ -1699,6 +1699,11 @@
info->name = g_strdup(mc->name);
info->cpu_max = !mc->max_cpus ? 1 : mc->max_cpus;
Index: new/ui/spice-core.c
===================================================================
---- new.orig/ui/spice-core.c 2014-05-05 07:53:16.000000000 +0200
-+++ new/ui/spice-core.c 2014-05-05 07:59:10.000000000 +0200
-@@ -540,6 +540,11 @@
+--- new.orig/ui/spice-core.c 2014-06-17 06:14:27.000000000 +0200
++++ new/ui/spice-core.c 2014-06-17 06:15:00.000000000 +0200
+@@ -541,6 +541,11 @@
micro = SPICE_SERVER_VERSION & 0xff;
info->compiled_version = g_strdup_printf("%d.%d.%d", major, minor, micro);
info->port = port;
Index: new/qapi-schema.json
===================================================================
---- new.orig/qapi-schema.json 2014-05-05 07:57:11.000000000 +0200
-+++ new/qapi-schema.json 2014-05-05 07:58:20.000000000 +0200
-@@ -1320,11 +1320,14 @@
+--- new.orig/qapi-schema.json 2014-06-17 06:15:00.000000000 +0200
++++ new/qapi-schema.json 2014-06-17 06:15:00.000000000 +0200
+@@ -795,11 +795,14 @@
#
# @channels: a list of @SpiceChannel for each active spice channel
#
Index: new/ui/vnc.c
===================================================================
---- new.orig/ui/vnc.c 2014-05-05 06:55:26.000000000 +0200
-+++ new/ui/vnc.c 2014-05-05 07:24:10.000000000 +0200
-@@ -44,6 +44,125 @@
+--- new.orig/ui/vnc.c 2014-06-17 06:14:54.000000000 +0200
++++ new/ui/vnc.c 2014-06-17 06:14:54.000000000 +0200
+@@ -45,6 +45,125 @@
#include "vnc_keysym.h"
#include "d3des.h"
static VncDisplay *vnc_display; /* needed for info vnc */
static int vnc_cursor_define(VncState *vs);
-@@ -3125,6 +3244,7 @@
+@@ -3146,6 +3265,7 @@
tls = 1; /* Require TLS */
} else if (strncmp(options, "x509", 4) == 0) {
char *start, *end;
x509 = 1; /* Require x509 certificates */
if (strncmp(options, "x509verify", 10) == 0)
vs->tls.x509verify = 1; /* ...and verify client certs */
-@@ -3145,8 +3265,10 @@
+@@ -3166,8 +3286,10 @@
}
g_free(path);
} else {
}
#endif
#if defined(CONFIG_VNC_TLS) || defined(CONFIG_VNC_SASL)
-@@ -3219,10 +3341,10 @@
+@@ -3240,10 +3362,10 @@
vs->auth = VNC_AUTH_VENCRYPT;
if (x509) {
VNC_DEBUG("Initializing VNC server with x509 password auth\n");
#endif /* CONFIG_VNC_TLS */
Index: new/ui/vnc-auth-vencrypt.c
===================================================================
---- new.orig/ui/vnc-auth-vencrypt.c 2014-05-05 06:55:26.000000000 +0200
-+++ new/ui/vnc-auth-vencrypt.c 2014-05-05 07:24:10.000000000 +0200
+--- new.orig/ui/vnc-auth-vencrypt.c 2014-06-17 06:14:28.000000000 +0200
++++ new/ui/vnc-auth-vencrypt.c 2014-06-17 06:14:54.000000000 +0200
@@ -26,6 +26,107 @@
#include "vnc.h"
VNC_DEBUG("Start TLS auth VNC\n");
Index: new/ui/vnc.h
===================================================================
---- new.orig/ui/vnc.h 2014-05-05 06:55:26.000000000 +0200
-+++ new/ui/vnc.h 2014-05-05 07:24:10.000000000 +0200
+--- new.orig/ui/vnc.h 2014-06-17 06:14:28.000000000 +0200
++++ new/ui/vnc.h 2014-06-17 06:14:54.000000000 +0200
@@ -279,6 +279,8 @@
char challenge[VNC_AUTH_CHALLENGE_SIZE];
#ifdef CONFIG_VNC_TLS
#endif /* __QEMU_VNC_H */
Index: new/ui/vnc-tls.c
===================================================================
---- new.orig/ui/vnc-tls.c 2014-05-05 06:55:26.000000000 +0200
-+++ new/ui/vnc-tls.c 2014-05-05 07:24:10.000000000 +0200
+--- new.orig/ui/vnc-tls.c 2014-06-17 06:14:28.000000000 +0200
++++ new/ui/vnc-tls.c 2014-06-17 06:14:54.000000000 +0200
@@ -302,6 +302,14 @@
static int vnc_set_gnutls_priority(gnutls_session_t s, int x509)
const char *certdir)
Index: new/ui/vnc-tls.h
===================================================================
---- new.orig/ui/vnc-tls.h 2014-05-05 06:55:26.000000000 +0200
-+++ new/ui/vnc-tls.h 2014-05-05 07:24:10.000000000 +0200
+--- new.orig/ui/vnc-tls.h 2014-06-17 06:14:28.000000000 +0200
++++ new/ui/vnc-tls.h 2014-06-17 06:14:54.000000000 +0200
@@ -68,6 +68,8 @@
int vnc_tls_validate_certificate(VncState *vs);
Index: new/vl.c
===================================================================
---- new.orig/vl.c 2014-05-05 07:13:45.000000000 +0200
-+++ new/vl.c 2014-05-05 07:24:10.000000000 +0200
-@@ -3690,6 +3690,7 @@
+--- new.orig/vl.c 2014-06-17 06:14:52.000000000 +0200
++++ new/vl.c 2014-06-17 06:14:54.000000000 +0200
+@@ -3744,6 +3744,7 @@
fprintf(stderr, "Invalid ID\n");
exit(1);
}
cpuunits = atoi(optarg);
Index: new/include/ui/console.h
===================================================================
---- new.orig/include/ui/console.h 2014-05-05 06:55:26.000000000 +0200
-+++ new/include/ui/console.h 2014-05-05 07:24:10.000000000 +0200
-@@ -319,6 +319,7 @@
+--- new.orig/include/ui/console.h 2014-06-17 06:14:28.000000000 +0200
++++ new/include/ui/console.h 2014-06-17 06:14:54.000000000 +0200
+@@ -322,6 +322,7 @@
void cocoa_display_init(DisplayState *ds, int full_screen);
/* vnc.c */
Index: new/hw/i386/pc.c
===================================================================
---- new.orig/hw/i386/pc.c 2014-05-05 06:55:25.000000000 +0200
-+++ new/hw/i386/pc.c 2014-05-05 07:35:55.000000000 +0200
-@@ -997,9 +997,9 @@
+--- new.orig/hw/i386/pc.c 2014-06-17 06:14:27.000000000 +0200
++++ new/hw/i386/pc.c 2014-06-17 06:14:59.000000000 +0200
+@@ -1021,9 +1021,9 @@
/* init CPUs */
if (cpu_model == NULL) {
#ifdef TARGET_X86_64
Index: new/ui/spice-core.c
===================================================================
---- new.orig/ui/spice-core.c 2014-05-05 07:42:02.000000000 +0200
-+++ new/ui/spice-core.c 2014-05-05 07:42:34.000000000 +0200
-@@ -671,32 +671,35 @@
+--- new.orig/ui/spice-core.c 2014-06-17 06:15:00.000000000 +0200
++++ new/ui/spice-core.c 2014-06-17 06:15:01.000000000 +0200
+@@ -679,32 +679,35 @@
if (tls_port) {
x509_dir = qemu_opt_get(opts, "x509-dir");
Index: new/ui/vnc-auth-vencrypt.c
===================================================================
---- new.orig/ui/vnc-auth-vencrypt.c 2013-11-26 11:47:41.000000000 +0100
-+++ new/ui/vnc-auth-vencrypt.c 2013-11-26 11:48:13.000000000 +0100
+--- new.orig/ui/vnc-auth-vencrypt.c 2014-06-17 06:14:54.000000000 +0200
++++ new/ui/vnc-auth-vencrypt.c 2014-06-17 06:14:55.000000000 +0200
@@ -144,6 +144,11 @@
vnc_read_when(vs, protocol_client_auth_plain_start, 8);
break;
Index: new/hmp.c
===================================================================
---- new.orig/hmp.c 2014-05-05 06:55:26.000000000 +0200
-+++ new/hmp.c 2014-05-05 07:34:43.000000000 +0200
-@@ -526,7 +526,35 @@
+--- new.orig/hmp.c 2014-06-17 06:14:28.000000000 +0200
++++ new/hmp.c 2014-06-17 06:14:58.000000000 +0200
+@@ -536,7 +536,35 @@
return;
}
}
Index: new/hw/virtio/virtio-balloon.c
===================================================================
---- new.orig/hw/virtio/virtio-balloon.c 2014-05-05 06:55:25.000000000 +0200
-+++ new/hw/virtio/virtio-balloon.c 2014-05-05 07:34:43.000000000 +0200
-@@ -291,6 +291,35 @@
+--- new.orig/hw/virtio/virtio-balloon.c 2014-06-17 06:14:28.000000000 +0200
++++ new/hw/virtio/virtio-balloon.c 2014-06-17 06:14:58.000000000 +0200
+@@ -305,6 +305,35 @@
VirtIOBalloon *dev = opaque;
info->actual = ram_size - ((uint64_t) dev->actual <<
VIRTIO_BALLOON_PFN_SHIFT);
static void virtio_balloon_to_target(void *opaque, ram_addr_t target)
Index: new/qapi-schema.json
===================================================================
---- new.orig/qapi-schema.json 2014-05-05 06:55:26.000000000 +0200
-+++ new/qapi-schema.json 2014-05-05 07:34:43.000000000 +0200
-@@ -1340,15 +1340,34 @@
+--- new.orig/qapi-schema.json 2014-06-17 06:14:28.000000000 +0200
++++ new/qapi-schema.json 2014-06-17 06:14:58.000000000 +0200
+@@ -815,15 +815,34 @@
##
# @BalloonInfo:
# @query-balloon:
Index: new/qmp-commands.hx
===================================================================
---- new.orig/qmp-commands.hx 2014-05-05 06:55:26.000000000 +0200
-+++ new/qmp-commands.hx 2014-05-05 07:34:43.000000000 +0200
-@@ -3152,6 +3152,13 @@
+--- new.orig/qmp-commands.hx 2014-06-17 06:14:28.000000000 +0200
++++ new/qmp-commands.hx 2014-06-17 06:14:58.000000000 +0200
+@@ -3162,6 +3162,13 @@
json-object will be returned containing the following data:
- "actual": current balloon value in bytes (json-int)
Example:
-@@ -3159,6 +3166,12 @@
+@@ -3169,6 +3176,12 @@
<- {
"return":{
"actual":1073741824,