From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 62C8F21E62BBD for ; Wed, 6 Sep 2017 04:13:59 -0700 (PDT) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga105.jf.intel.com with ESMTP; 06 Sep 2017 04:16:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,483,1498546800"; d="scan'208,217";a="126053163" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga004.jf.intel.com with ESMTP; 06 Sep 2017 04:16:48 -0700 Received: from fmsmsx112.amr.corp.intel.com (10.18.116.6) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 6 Sep 2017 04:16:48 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX112.amr.corp.intel.com (10.18.116.6) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 6 Sep 2017 04:16:47 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.39]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.98]) with mapi id 14.03.0319.002; Wed, 6 Sep 2017 19:16:45 +0800 From: "Yao, Jiewen" To: Laszlo Ersek , "Wang, Jian J" , "Justen, Jordan L" CC: "edk2-devel@lists.01.org" , "Kinney, Michael D" Thread-Topic: ASSERT in QemuVideoDxe driver during reset Thread-Index: AdMm3ucKp6vfV+HORTuJKz09A23e7P//r6sA//9sBlA= Date: Wed, 6 Sep 2017 11:16:44 +0000 Message-ID: <74D8A39837DF1E4DA445A8C0B3885C503A9A8802@shsmsx102.ccr.corp.intel.com> References: <130779a4-f1c8-bf07-8b85-8125d466aed3@redhat.com> In-Reply-To: <130779a4-f1c8-bf07-8b85-8125d466aed3@redhat.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 Subject: Re: ASSERT in QemuVideoDxe driver during reset X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2017 11:13:59 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SEkNCkkgdGhpbmsgdGhlIE5VTEwgZGV0ZWN0aW9uIGZlYXR1cmUgc2hvdWxkICpuZXZlciogYnJl YWsgYW55IGV4aXN0aW5nIHBsYXRmb3JtLg0KTm8gcmVhbCBmdW5jdGlvbiBzaG91bGQgYmUgc2tp cHBlZCBmb3IgUGNkTnVsbERldGVjdGlvbi4NCg0KSWYgSW5zdGFsbFZiZVNoaW0gKCkgaXMgbmVl ZGVkIGZvciBDU00sIHdlIHNob3VsZCBhbHdheXMgY2FsbCBJbnN0YWxsVmJlU2hpbSgpIGZvciBD U00uDQoNCkkgc3VnZ2VzdCBiZWxvdyBvcHRpb25zOg0KDQoxKSAgICAgICBJbiBPVk1GLCBpZiBD U00gaXMgZW5hYmxlZCwgZGlzYWJsZSBQY2ROdWxsRGV0ZWN0aW9uLg0KDQoyKSAgICAgICBJbiBP Vk1GLCBpZiBhbnkgZHJpdmVyIG5lZWQgYWNjZXNzIGZpcnN0IDRLIHBhZ2UsIHRoZSBjb2RlIHNo b3VsZCBleHBsaWNpdCBjYWxsIFNldEF0dHJpYnV0ZSgwLCA0SywgUkVBRHxXUklURSksIGlmIFBj ZE51bGxEZXRlY3Rpb24gaXMgZW5hYmxlZC4NCg0KRWl0aGVyICMxIG9yICMyIGlzIE9LLg0KIzEg aXMgc2ltcGxlLCBhbmQgIzIgY2FuIGh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