From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41314) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIbLg-0003ti-Dp for qemu-devel@nongnu.org; Tue, 03 Feb 2015 06:08:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YIbLa-0006J2-45 for qemu-devel@nongnu.org; Tue, 03 Feb 2015 06:08:52 -0500 Received: from mx1.redhat.com ([209.132.183.28]:44860) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIbLZ-0006Ir-Sv for qemu-devel@nongnu.org; Tue, 03 Feb 2015 06:08:46 -0500 Message-ID: <54D0AC31.2050209@redhat.com> Date: Tue, 03 Feb 2015 12:08:33 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1421913839-22448-1-git-send-email-sfeldma@gmail.com> <1421913839-22448-4-git-send-email-sfeldma@gmail.com> <20150202161912.GB10862@stefanha-thinkpad> In-Reply-To: <20150202161912.GB10862@stefanha-thinkpad> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v5 03/10] rocker: add register programming guide List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi , sfeldma@gmail.com Cc: jiri@resnulli.us, roopa@cumulusnetworks.com, john.fastabend@gmail.com, qemu-devel@nongnu.org, dsahern@gmail.com, jasowang@redhat.com -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/02/2015 17:19, Stefan Hajnoczi wrote: > How does the CPU detect that the device has completed the reset > procedure? Is this supposed to be synchronous? If yes, is that a > good idea (i.e. hopefully resetting doesn't involve any blocking > operations or operations that take a long time)? Most of the time in QEMU reset is synchronous. Think of block devices that do bdrv_drain_all() as part of reset! Paolo -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJU0KwtAAoJEL/70l94x66DoxIH/i/3AWLa/TYXGhuj6AdrZf0V JC6N1vl0ebRuJUdE062SxKwI3VOA5zl7rvLf21iLNVsHhkJWMzQsvLi0C1XSSe3w +7faij2YxCUord3L7PHd3s+DUrYDsID1iB/wPSmjkCF4RgJt51W9gu/+aX3SJ7mb Iw9ZObBz+kbUpYQ6v0bLrtKMY1i5LCBfptkj/4ccE7CS5h59DGO6tVFRskE2sweG mQyyRdt3BnyhpK5nZ86YcoFVpYNrd69shuW0a3zPX5cU2LiJcIgml+3zIHryTUG3 c1jg301i96RwXvto1pirdUzZCsnmfsCjCgmfjzTImPvetlxaCkjFanKxJ0JJSyY= =Py+W -----END PGP SIGNATURE-----