From: Sean Dague Subject: [RESEND] [PATCH] Call dominfo.device_delete instead of non-existant dominfo.device_destroy Date: Tue, 13 Sep 2005 12:31:12 -0400 Message-ID: <20050913163112.GA5276@underhill.no-ip.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0035296606==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0035296606== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7qSK/uQB79J36Y4o" Content-Disposition: inline --7qSK/uQB79J36Y4o Content-Type: multipart/mixed; boundary="jq0ap7NbKX2Kqbes" Content-Disposition: inline --jq0ap7NbKX2Kqbes Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This is a resend on the patch from late last week as I haven't seen it in the changelog yet. Comments welcomed if there is an issue with the patch. -Sean --=20 __________________________________________________________________ Sean Dague Mid-Hudson Valley sean at dague dot net Linux Users Group http://dague.net http://mhvlug.org There is no silver bullet. Plus, werewolves make better neighbors than zombies, and they tend to keep the vampire population down. __________________________________________________________________ --jq0ap7NbKX2Kqbes Content-Type: message/rfc822 Content-Disposition: inline Return-Path: X-Original-To: sdague@localhost Delivered-To: sdague@localhost.dague.net Received: from localhost (localhost [127.0.0.1]) by underhill.no-ip.org (Postfix) with ESMTP id 3494D15F937 for ; Fri, 9 Sep 2005 15:02:21 -0400 (EDT) Envelope-To: sdague@dague.net Delivery-Date: Fri, 09 Sep 2005 14:01:55 -0500 Received: from dague.net [66.225.255.59] by localhost with POP3 (fetchmail-6.2.5) for sdague@localhost (single-drop); Fri, 09 Sep 2005 15:02:21 -0400 (EDT) Received: from daguene by server114.midphase.com with local-bsmtp (Exim 4.43) id 1EDo8J-0008Dz-Jv for sdague@dague.net; Fri, 09 Sep 2005 14:01:55 -0500 Received: from host01-bcn-london.deploy.xenoserver.org ([217.147.82.46] helo=lists.xensource.com) by server114.midphase.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.43) id 1EDo8I-0002su-1X for sean@dague.net; Fri, 09 Sep 2005 14:01:54 -0500 Received: from localhost ([127.0.0.1] helo=lists.xensource.com) by host-192-168-0-1-bcn-london with esmtp (Exim 4.50) id 1EDo5t-0006hV-VA; Fri, 09 Sep 2005 18:59:26 +0000 Received: from [192.168.0.10] (helo=192.168.0.10) by host-192-168-0-1-bcn-london with esmtp (Exim 4.50) id 1EDo5q-0006h2-4R for xen-devel@lists.xensource.com; Fri, 09 Sep 2005 18:59:22 +0000 Received: from pop-gadwall.atl.sa.earthlink.net ([207.69.195.61]) by 192.168.0.10 with esmtp (Exim 4.50) id 1EDo5n-0005Nw-HM for xen-devel@lists.xensource.com; Fri, 09 Sep 2005 18:59:20 +0000 Received: from user-0cevegb.cable.mindspring.com ([24.239.186.11] helo=underhill.no-ip.org) by pop-gadwall.atl.sa.earthlink.net with esmtp (Exim 3.36 #10) id 1EDo88-0003HJ-00 for xen-devel@lists.xensource.com; Fri, 09 Sep 2005 15:01:44 -0400 Received: by underhill.no-ip.org (Postfix, from userid 501) id E529F15F92E; Fri, 9 Sep 2005 15:01:43 -0400 (EDT) Date: Fri, 9 Sep 2005 15:01:43 -0400 From: Sean Dague To: xen-devel@lists.xensource.com Message-ID: <20050909190143.GA27717@underhill.no-ip.org> Mail-Followup-To: xen-devel@lists.xensource.com MIME-Version: 1.0 User-Agent: Mutt/1.5.6i X-Sa-Exim-Connect-Ip: 207.69.195.61 X-Sa-Exim-Mail-From: sean@dague.net X-Sa-Exim-Version: 4.2 (built Thu, 03 Mar 2005 10:44:12 +0100) X-Sa-Exim-Scanned: Yes (on 192.168.0.10) Subject: [PATCH] Call dominfo.device_delete instead of non-existant dominfo.device_destroy X-Beenthere: xen-devel@lists.xensource.com X-Mailman-Version: 2.1.5 Precedence: list List-ID: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1196606310==" MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xensource.com X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on underhill.no-ip.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_BY_IP autolearn=ham version=3.0.4 X-Guessed-Mailing-List: xen-devel Diffstat output: XendDomain.py | 9 +-------- 1 files changed, 1 insertion(+), 8 deletions(-) --===============1196606310== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FL5UXtIhxfXey3p5" Content-Disposition: inline --FL5UXtIhxfXey3p5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This patch changes the device destruction function to one that exists in in the XendDomainInfo class, instead of a non existent method. Signed-off-by: Sean Dague Diffstat output: XendDomain.py | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r 41a74438bcba tools/python/xen/xend/XendDomain.py --- a/tools/python/xen/xend/XendDomain.py Fri Sep 9 18:36:48 2005 +++ b/tools/python/xen/xend/XendDomain.py Fri Sep 9 14:46:01 2005 @@ -667,7 +667,7 @@ @param type: device type """ dominfo =3D self.domain_lookup(id) - val =3D dominfo.device_destroy(type, devid) + val =3D dominfo.device_delete(type, devid) dominfo.exportToDB() return val =20 --=20 __________________________________________________________________ Sean Dague Mid-Hudson Valley sean at dague dot net Linux Users Group http://dague.net http://mhvlug.org There is no silver bullet. Plus, werewolves make better neighbors than zombies, and they tend to keep the vampire population down. __________________________________________________________________ --FL5UXtIhxfXey3p5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFDIdwXSamXem9TdyYRAprGAJ9FeQXhqNt9AOFRSSmceZcVI5OCyACfZLYl tkLORMWsLG0OkckKu4+pY8w= =8rhx -----END PGP SIGNATURE----- --FL5UXtIhxfXey3p5-- --===============1196606310== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1196606310==-- --jq0ap7NbKX2Kqbes-- --7qSK/uQB79J36Y4o Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFDJv7QSamXem9TdyYRAg4MAJ9N3QKB0cjf6IRo38DNPfOszzPzUACgot3l QcAHGd9VsI/FqTY2pz6+5A0= =4zFs -----END PGP SIGNATURE----- --7qSK/uQB79J36Y4o-- --===============0035296606== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0035296606==--