From patchwork Fri Jan 7 06:49:36 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Williamson X-Patchwork-Id: 462751 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 p076neiO005645 for ; Fri, 7 Jan 2011 06:49:40 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753557Ab1AGGti (ORCPT ); Fri, 7 Jan 2011 01:49:38 -0500 Received: from mx1.redhat.com ([209.132.183.28]:48028 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752753Ab1AGGth (ORCPT ); Fri, 7 Jan 2011 01:49:37 -0500 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id p076nbgQ032222 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 7 Jan 2011 01:49:37 -0500 Received: from s20.home (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p076nawP020162; Fri, 7 Jan 2011 01:49:37 -0500 From: Alex Williamson Subject: [PATCH] device-assignment: Add fields to VMStateDescription To: kvm@vger.kernel.org Cc: alex.williamson@redhat.com, quintela@redhat.com Date: Thu, 06 Jan 2011 23:49:36 -0700 Message-ID: <20110107064812.25215.94749.stgit@s20.home> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 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.6 (demeter1.kernel.org [140.211.167.41]); Fri, 07 Jan 2011 06:49:40 +0000 (UTC) diff --git a/hw/device-assignment.c b/hw/device-assignment.c index 8446cd4..64636ce 100644 --- a/hw/device-assignment.c +++ b/hw/device-assignment.c @@ -1689,7 +1689,10 @@ static void assigned_dev_unregister_msix_mmio(AssignedDevice *dev) } static const VMStateDescription vmstate_assigned_device = { - .name = "pci-assign" + .name = "pci-assign", + .fields = (VMStateField []) { + VMSTATE_END_OF_LIST() + } }; static void reset_assigned_device(DeviceState *dev)