From: Gerd Hoffmann <kraxel@redhat.com>
To: Sai Pavan Boddu <saipava@xilinx.com>
Cc: "Francisco Eduardo Iglesias" <figlesia@xilinx.com>,
"Peter Maydell" <peter.maydell@linaro.org>,
"Eduardo Habkost" <ehabkost@redhat.com>,
"Vikram Garhwal" <fnuv@xilinx.com>,
"Markus Armbruster" <armbru@redhat.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
"Edgar Iglesias" <edgari@xilinx.com>,
"Alistair Francis" <alistair.francis@wdc.com>,
"'Marc-André Lureau'" <marcandre.lureau@redhat.com>,
"Ying Fang" <fangying1@huawei.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Paul Zimmerman" <pauldzim@gmail.com>,
"'Philippe Mathieu-Daudé'" <philmd@redhat.com>
Subject: Re: [PATCH v8 3/7] usb/hcd-xhci: Split pci wrapper for xhci base model
Date: Thu, 24 Sep 2020 07:16:54 +0200 [thread overview]
Message-ID: <20200924051654.phuk3bmqjz3v3lxu@sirius.home.kraxel.org> (raw)
In-Reply-To: <BY5PR02MB67721C6F6152DBA2AD4E3663CA380@BY5PR02MB6772.namprd02.prod.outlook.com>
Hi,
> Can you also provide any steps to test vmstate migration ?
Helper script below, run it with something like:
$script -m 4G -vga std \
-cdrom Fedora-Workstation-Live-x86_64-32-1.6.iso \
-device qemu-xhci -device usb-tablet
============================ cut here ==============================
#!/bin/bash
# most recent release
src="/usr/local/bin/qemu-system-x86_64"
# master branch / devel branch
dst="/home/kraxel/projects/qemu/build/default/x86_64-softmmu/qemu-system-x86_64"
# time to wait before migration
sec=60
# vmstate storage
tmp="$(mktemp ${TMPDIR-/var/tmp}/vmstate-XXXXXXXXXXXXXX)"
trap "rm -f $tmp" EXIT
# figure machine type to use
machine=$($src -M help | awk '/default/ { print $1 }')
machine="${machine},vmport=off"
machine="${machine},accel=kvm"
########################################################################
echo "#"
echo "# vmsave (after $sec seconds)"
echo "#"
(
sleep $sec
echo "migrate_set_speed 100M"
echo "migrate exec:cat>$tmp"
echo "quit"
) |\
$src -nodefaults \
-monitor stdio \
-M $machine \
"$@"
echo "#"
echo "# vmload"
echo "#"
$dst -nodefaults \
-monitor stdio \
-incoming "exec:cat $tmp" \
-M $machine \
"$@"
next prev parent reply other threads:[~2020-09-24 5:17 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-22 13:20 [PATCH v8 0/7] Make hcd-xhci independent of pci hooks Sai Pavan Boddu
2020-09-22 13:20 ` [PATCH v8 1/7] usb/hcd-xhci: Make dma read/writes hooks pci free Sai Pavan Boddu
2020-09-22 13:20 ` [PATCH v8 2/7] usb/hcd-xhci: Move qemu-xhci device to hcd-xhci-pci.c Sai Pavan Boddu
2020-09-22 13:20 ` [PATCH v8 3/7] usb/hcd-xhci: Split pci wrapper for xhci base model Sai Pavan Boddu
2020-09-23 10:14 ` Gerd Hoffmann
2020-09-23 17:45 ` Sai Pavan Boddu
2020-09-24 5:16 ` Gerd Hoffmann [this message]
2020-09-24 14:09 ` Sai Pavan Boddu
2020-09-22 13:20 ` [PATCH v8 4/7] usb: hcd-xhci-sysbus: Attach xhci to sysbus device Sai Pavan Boddu
2020-09-22 13:20 ` [PATCH v8 5/7] misc: Add versal-usb2-ctrl-regs module Sai Pavan Boddu
2020-09-22 13:20 ` [PATCH v8 6/7] usb: Add DWC3 model Sai Pavan Boddu
2020-09-22 13:20 ` [PATCH v8 7/7] Versal: Connect DWC3 controller with virt-versal Sai Pavan Boddu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200924051654.phuk3bmqjz3v3lxu@sirius.home.kraxel.org \
--to=kraxel@redhat.com \
--cc=alistair.francis@wdc.com \
--cc=armbru@redhat.com \
--cc=edgari@xilinx.com \
--cc=ehabkost@redhat.com \
--cc=fangying1@huawei.com \
--cc=figlesia@xilinx.com \
--cc=fnuv@xilinx.com \
--cc=marcandre.lureau@redhat.com \
--cc=pauldzim@gmail.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=philmd@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=saipava@xilinx.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).