* Re: [RFC] migration: Add migrate-set-bitmap-node-mapping
2020-05-13 14:49 [RFC] migration: Add migrate-set-bitmap-node-mapping Max Reitz
@ 2020-05-13 14:51 ` Max Reitz
2020-05-13 16:01 ` Eric Blake
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Max Reitz @ 2020-05-13 14:51 UTC (permalink / raw)
To: qemu-block
Cc: Vladimir Sementsov-Ogievskiy, Juan Quintela, Markus Armbruster,
qemu-devel, Dr . David Alan Gilbert, Peter Krempa
[-- Attachment #1.1: Type: text/plain, Size: 686 bytes --]
On 13.05.20 16:49, Max Reitz wrote:
> This command allows mapping block node names to aliases for the purpose
> of block dirty bitmap migration.
>
> This way, management tools can use different node names on the source
> and destination and pass the mapping of how bitmaps are to be
> transferred to qemu (on the source, the destination, or even both with
> arbitrary aliases in the migration stream).
>
> Suggested-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
> Signed-off-by: Max Reitz <mreitz@redhat.com>
Sorry, let me try again, I changed the name of the command and the type
just before sending and that was a stupid idea, as it turns out.
Max
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [RFC] migration: Add migrate-set-bitmap-node-mapping
2020-05-13 14:49 [RFC] migration: Add migrate-set-bitmap-node-mapping Max Reitz
2020-05-13 14:51 ` Max Reitz
@ 2020-05-13 16:01 ` Eric Blake
2020-05-13 19:34 ` no-reply
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Eric Blake @ 2020-05-13 16:01 UTC (permalink / raw)
To: Max Reitz, qemu-block
Cc: Vladimir Sementsov-Ogievskiy, Juan Quintela, Markus Armbruster,
qemu-devel, Peter Krempa, Dr . David Alan Gilbert
On 5/13/20 9:49 AM, Max Reitz wrote:
> This command allows mapping block node names to aliases for the purpose
> of block dirty bitmap migration.
>
> This way, management tools can use different node names on the source
> and destination and pass the mapping of how bitmaps are to be
> transferred to qemu (on the source, the destination, or even both with
> arbitrary aliases in the migration stream).
>
> Suggested-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
> Signed-off-by: Max Reitz <mreitz@redhat.com>
> ---
> Branch: https://github.com/XanClic/qemu.git migration-bitmap-mapping-rfc
> Branch: https://git.xanclic.moe/XanClic/qemu.git migration-bitmap-mapping-rfc
>
> Vladimir has proposed something like this in April:
> https://lists.nongnu.org/archive/html/qemu-block/2020-04/msg00171.html
>
> Now I’ve been asked by my manager to look at this, so I decided to just
> write a patch to see how it’d play out.
>
> This is an RFC, because I’d like to tack on tests to the final version,
> but I’m not sure whether I can come up with something before the end of
> the week (and I’ll be on PTO for the next two weeks).
>
> Also, I don’t know whether migration/block-dirty-bitmap.c is the best
> place to put qmp_migrate_set_bitmap_mapping(), but it appears we already
> have some QMP handlers in migration/, so I suppose it isn’t too bad.
My 'qemu-img bitmap' series has block/monitor/bitmap-qmp-cmds.c -
perhaps that's a decent location? Or maybe another new file in that
directory, if putting it directly in an existing file would drag in too
much into qemu-img?
> ---
> qapi/migration.json | 36 ++++++++++++++++++++
> migration/block-dirty-bitmap.c | 60 ++++++++++++++++++++++++++++++++--
> 2 files changed, 94 insertions(+), 2 deletions(-)
But I see you've already posted a v2, so I'll stop reviewing here and
switch to that thread.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [RFC] migration: Add migrate-set-bitmap-node-mapping
2020-05-13 14:49 [RFC] migration: Add migrate-set-bitmap-node-mapping Max Reitz
2020-05-13 14:51 ` Max Reitz
2020-05-13 16:01 ` Eric Blake
@ 2020-05-13 19:34 ` no-reply
2020-05-13 19:37 ` no-reply
2020-05-13 19:40 ` no-reply
4 siblings, 0 replies; 6+ messages in thread
From: no-reply @ 2020-05-13 19:34 UTC (permalink / raw)
To: mreitz
Cc: vsementsov, qemu-block, quintela, armbru, qemu-devel, dgilbert,
pkrempa, mreitz
Patchew URL: https://patchew.org/QEMU/20200513144941.1469447-1-mreitz@redhat.com/
Hi,
This series failed the docker-quick@centos7 build test. Please find the testing commands and
their output below. If you have Docker installed, you can probably reproduce it
locally.
=== TEST SCRIPT BEGIN ===
#!/bin/bash
make docker-image-centos7 V=1 NETWORK=1
time make docker-test-quick@centos7 SHOW_ENV=1 J=14 NETWORK=1
=== TEST SCRIPT END ===
/tmp/qemu-test/src/qapi/migration.json:1637: documentation comment is for 'MigrationBlockNodeMapping'
GEN hw/i386/xen/trace.h
GEN hw/ide/trace.h
make: *** [qapi-gen-timestamp] Error 1
make: *** Waiting for unfinished jobs....
Traceback (most recent call last):
File "./tests/docker/docker.py", line 664, in <module>
---
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['sudo', '-n', 'docker', 'run', '--label', 'com.qemu.instance.uuid=4aeb5780383b41b3936ebd2876745e60', '-u', '1003', '--security-opt', 'seccomp=unconfined', '--rm', '-e', 'TARGET_LIST=', '-e', 'EXTRA_CONFIGURE_OPTS=', '-e', 'V=', '-e', 'J=14', '-e', 'DEBUG=', '-e', 'SHOW_ENV=1', '-e', 'CCACHE_DIR=/var/tmp/ccache', '-v', '/home/patchew2/.cache/qemu-docker-ccache:/var/tmp/ccache:z', '-v', '/var/tmp/patchew-tester-tmp-txmz1ch1/src/docker-src.2020-05-13-15.32.06.27394:/var/tmp/qemu:z,ro', 'qemu:centos7', '/var/tmp/qemu/run', 'test-quick']' returned non-zero exit status 2.
filter=--filter=label=com.qemu.instance.uuid=4aeb5780383b41b3936ebd2876745e60
make[1]: *** [docker-run] Error 1
make[1]: Leaving directory `/var/tmp/patchew-tester-tmp-txmz1ch1/src'
make: *** [docker-run-test-quick@centos7] Error 2
real 2m2.691s
user 0m7.876s
The full log is available at
http://patchew.org/logs/20200513144941.1469447-1-mreitz@redhat.com/testing.docker-quick@centos7/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to patchew-devel@redhat.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [RFC] migration: Add migrate-set-bitmap-node-mapping
2020-05-13 14:49 [RFC] migration: Add migrate-set-bitmap-node-mapping Max Reitz
` (2 preceding siblings ...)
2020-05-13 19:34 ` no-reply
@ 2020-05-13 19:37 ` no-reply
2020-05-13 19:40 ` no-reply
4 siblings, 0 replies; 6+ messages in thread
From: no-reply @ 2020-05-13 19:37 UTC (permalink / raw)
To: mreitz
Cc: vsementsov, qemu-block, quintela, armbru, qemu-devel, dgilbert,
pkrempa, mreitz
Patchew URL: https://patchew.org/QEMU/20200513144941.1469447-1-mreitz@redhat.com/
Hi,
This series failed the asan build test. Please find the testing commands and
their output below. If you have Docker installed, you can probably reproduce it
locally.
=== TEST SCRIPT BEGIN ===
#!/bin/bash
export ARCH=x86_64
make docker-image-fedora V=1 NETWORK=1
time make docker-test-debug@fedora TARGET_LIST=x86_64-softmmu J=14 NETWORK=1
=== TEST SCRIPT END ===
GEN hw/intc/trace.h
GEN hw/isa/trace.h
GEN hw/mem/trace.h
make: *** [Makefile:666: qapi-gen-timestamp] Error 1
make: *** Waiting for unfinished jobs....
Traceback (most recent call last):
File "./tests/docker/docker.py", line 664, in <module>
---
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['sudo', '-n', 'docker', 'run', '--label', 'com.qemu.instance.uuid=779d0814f6dd4e8c93f07f5faeea0d47', '-u', '1003', '--security-opt', 'seccomp=unconfined', '--rm', '-e', 'TARGET_LIST=x86_64-softmmu', '-e', 'EXTRA_CONFIGURE_OPTS=', '-e', 'V=', '-e', 'J=14', '-e', 'DEBUG=', '-e', 'SHOW_ENV=', '-e', 'CCACHE_DIR=/var/tmp/ccache', '-v', '/home/patchew2/.cache/qemu-docker-ccache:/var/tmp/ccache:z', '-v', '/var/tmp/patchew-tester-tmp-vpaza0yt/src/docker-src.2020-05-13-15.34.45.31590:/var/tmp/qemu:z,ro', 'qemu:fedora', '/var/tmp/qemu/run', 'test-debug']' returned non-zero exit status 2.
filter=--filter=label=com.qemu.instance.uuid=779d0814f6dd4e8c93f07f5faeea0d47
make[1]: *** [docker-run] Error 1
make[1]: Leaving directory `/var/tmp/patchew-tester-tmp-vpaza0yt/src'
make: *** [docker-run-test-debug@fedora] Error 2
real 3m8.744s
user 0m8.054s
The full log is available at
http://patchew.org/logs/20200513144941.1469447-1-mreitz@redhat.com/testing.asan/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to patchew-devel@redhat.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [RFC] migration: Add migrate-set-bitmap-node-mapping
2020-05-13 14:49 [RFC] migration: Add migrate-set-bitmap-node-mapping Max Reitz
` (3 preceding siblings ...)
2020-05-13 19:37 ` no-reply
@ 2020-05-13 19:40 ` no-reply
4 siblings, 0 replies; 6+ messages in thread
From: no-reply @ 2020-05-13 19:40 UTC (permalink / raw)
To: mreitz
Cc: vsementsov, qemu-block, quintela, armbru, qemu-devel, dgilbert,
pkrempa, mreitz
Patchew URL: https://patchew.org/QEMU/20200513144941.1469447-1-mreitz@redhat.com/
Hi,
This series failed the docker-mingw@fedora build test. Please find the testing commands and
their output below. If you have Docker installed, you can probably reproduce it
locally.
=== TEST SCRIPT BEGIN ===
#! /bin/bash
export ARCH=x86_64
make docker-image-fedora V=1 NETWORK=1
time make docker-test-mingw@fedora J=14 NETWORK=1
=== TEST SCRIPT END ===
GEN hw/dma/trace.h
GEN hw/hppa/trace.h
GEN hw/i2c/trace.h
make: *** [Makefile:666: qapi-gen-timestamp] Error 1
make: *** Waiting for unfinished jobs....
AR /tmp/qemu-test/build/slirp/libslirp.a
make[1]: Leaving directory '/tmp/qemu-test/src/slirp'
---
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['sudo', '-n', 'docker', 'run', '--label', 'com.qemu.instance.uuid=f9fde3d4c1a0419085775fd925ba23aa', '-u', '1003', '--security-opt', 'seccomp=unconfined', '--rm', '-e', 'TARGET_LIST=', '-e', 'EXTRA_CONFIGURE_OPTS=', '-e', 'V=', '-e', 'J=14', '-e', 'DEBUG=', '-e', 'SHOW_ENV=', '-e', 'CCACHE_DIR=/var/tmp/ccache', '-v', '/home/patchew2/.cache/qemu-docker-ccache:/var/tmp/ccache:z', '-v', '/var/tmp/patchew-tester-tmp-s3k90id6/src/docker-src.2020-05-13-15.38.50.6519:/var/tmp/qemu:z,ro', 'qemu:fedora', '/var/tmp/qemu/run', 'test-mingw']' returned non-zero exit status 2.
filter=--filter=label=com.qemu.instance.uuid=f9fde3d4c1a0419085775fd925ba23aa
make[1]: *** [docker-run] Error 1
make[1]: Leaving directory `/var/tmp/patchew-tester-tmp-s3k90id6/src'
make: *** [docker-run-test-mingw@fedora] Error 2
real 1m28.202s
user 0m8.010s
The full log is available at
http://patchew.org/logs/20200513144941.1469447-1-mreitz@redhat.com/testing.docker-mingw@fedora/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to patchew-devel@redhat.com
^ permalink raw reply [flat|nested] 6+ messages in thread