[Qemu-devel] [PATCH 2/3] Test for full Backup

2017-08-29 Thread Ishani Chugh
This patch is the test for full backup implementation in Backup tool. The test employs two basic substests: 1) Backing up an empty guest and comparing it with base image. 2) Writing a pattern to the guest, creating backup and comparing with the base image. Signed-off-by: Ishani Chugh

[Qemu-devel] [PATCH 2/3] Test for full Backup

2017-08-29 Thread Ishani Chugh
This patch is the test for full backup implementation in Backup tool. The test employs two basic substests: 1) Backing up an empty guest and comparing it with base image. 2) Writing a pattern to the guest, creating backup and comparing with the base image. Signed-off-by: Ishani Chugh

Re: [Qemu-devel] [PATCH 2/3] Test for full Backup

2017-08-25 Thread John Snow
On 08/25/2017 10:36 AM, Peter Maydell wrote: > On 23 August 2017 at 14:04, Ishani Chugh > wrote: >> This patch is the test for full backup implementation in Backup tool. >> The test employs two basic substests: >> 1) Backing up an empty guest and comparing it

Re: [Qemu-devel] [PATCH 2/3] Test for full Backup

2017-08-25 Thread Peter Maydell
On 23 August 2017 at 14:04, Ishani Chugh wrote: > This patch is the test for full backup implementation in Backup tool. > The test employs two basic substests: > 1) Backing up an empty guest and comparing it with base image. > 2) Writing a pattern to the guest,

Re: [Qemu-devel] [PATCH 2/3] Test for full Backup

2017-08-25 Thread Stefan Hajnoczi
On Wed, Aug 23, 2017 at 06:34:39PM +0530, Ishani Chugh wrote: > +CONFIG_FILE=$TEST_DIR/backup-config > +SOCKET=unix:$TEST_DIR/backup_socket > +size=128M > + > +_make_test_img $size > +export QEMU_BACKUP_CONFIG=$CONFIG_FILE > +qemu_comm_method="monitor" > +echo > +_launch_qemu -drive

[Qemu-devel] [PATCH 2/3] Test for full Backup

2017-08-23 Thread Ishani Chugh
This patch is the test for full backup implementation in Backup tool. The test employs two basic substests: 1) Backing up an empty guest and comparing it with base image. 2) Writing a pattern to the guest, creating backup and comparing with the base image. Signed-off-by: Ishani Chugh

Re: [Qemu-devel] [PATCH 2/3] Test for full Backup

2017-08-22 Thread Stefan Hajnoczi
On Mon, Aug 21, 2017 at 04:40:38PM +0530, Ishani Chugh wrote: > +_make_test_img $size > +export QEMU_BACKUP_CONFIG=$CONFIG_FILE > +qemu_comm_method="monitor" > +echo > +_launch_qemu -nographic -drive if=virtio,file=$TEST_IMG -qmp > $SOCKET,server,nowait -nographic is already included by

[Qemu-devel] [PATCH 2/3] Test for full Backup

2017-08-21 Thread Ishani Chugh
This patch is the test for full backup implementation in Backup tool. The test employs two basic substests: 1) Backing up an empty guest and comparing it with base image. 2) Writing a pattern to the guest, creating backup and comparing with the base image. Signed-off-by: Ishani Chugh