From patchwork Thu Dec 9 06:43:14 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Yongjun X-Patchwork-Id: 393002 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oB96hX5a015548 for ; Thu, 9 Dec 2010 06:43:33 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754874Ab0LIGna (ORCPT ); Thu, 9 Dec 2010 01:43:30 -0500 Received: from cn.fujitsu.com ([222.73.24.84]:51461 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1753426Ab0LIGna convert rfc822-to-8bit (ORCPT ); Thu, 9 Dec 2010 01:43:30 -0500 Received: from tang.cn.fujitsu.com (tang.cn.fujitsu.com [10.167.250.3]) by song.cn.fujitsu.com (Postfix) with ESMTP id CAC1E170A5A; Thu, 9 Dec 2010 14:43:27 +0800 (CST) Received: from mailserver.fnst.cn.fujitus.com (tang.cn.fujitsu.com [127.0.0.1]) by tang.cn.fujitsu.com (8.14.3/8.13.1) with ESMTP id oB96cihq005045; Thu, 9 Dec 2010 14:38:44 +0800 Received: from [10.167.225.36] ([10.167.225.36]) by mailserver.fnst.cn.fujitus.com (Lotus Domino Release 8.5.1FP4) with ESMTP id 2010120914433180-195379 ; Thu, 9 Dec 2010 14:43:31 +0800 Message-ID: <4D007A82.8030604@cn.fujitsu.com> Date: Thu, 09 Dec 2010 14:43:14 +0800 From: Wei Yongjun User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.12) Gecko/20100915 Thunderbird/3.0.8 MIME-Version: 1.0 To: Avi Kivity CC: alex.williamson@redhat.com, kvm@vger.kernel.org Subject: [PATCH] [qemu-kvm-next-tree] fix compile error of hw/device-assignment.c X-MIMETrack: Itemize by SMTP Server on mailserver/fnst(Release 8.5.1FP4|July 25, 2010) at 2010-12-09 14:43:31, Serialize by Router on mailserver/fnst(Release 8.5.1FP4|July 25, 2010) at 2010-12-09 14:43:32 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Thu, 09 Dec 2010 06:43:34 +0000 (UTC) diff --git a/hw/device-assignment.c b/hw/device-assignment.c index 50c6408..8446cd4 100644 --- a/hw/device-assignment.c +++ b/hw/device-assignment.c @@ -1460,7 +1460,7 @@ static int assigned_device_pci_cap_init(PCIDevice *pci_dev) /* assign_device will bring the device up to D0, so we don't need * to worry about doing that ourselves here. */ pci_set_word(pci_dev->config + pos + PCI_PM_CTRL, - PCI_PM_CTRL_NO_SOFT_RST); + PCI_PM_CTRL_NO_SOFT_RESET); pci_set_byte(pci_dev->config + pos + PCI_PM_PPB_EXTENSIONS, 0); pci_set_byte(pci_dev->config + pos + PCI_PM_DATA_REGISTER, 0);