From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arun Sharma Subject: Re: VMX device models not getting created anymore? Date: Wed, 15 Jun 2005 10:09:14 -0700 Message-ID: <42B060BA.3020404@intel.com> References: <42B03B76.7010701@hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <42B03B76.7010701@hp.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Mike Wray Cc: Ian Pratt , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Mike Wray wrote: > def create_devices(self): > """Create the devices for a vm. > > @raise: VmError for invalid devices > """ > if self.rebooting(): > for ctrl in self.getDeviceControllers(): > ctrl.initController(reboot=True) > else: > self.create_configured_devices() > self.image.createDeviceModel() I sent a patch: vmx-device-models-py.patch to the list to do just this, but the event channel numbers seem to be off by one for some reason (please see comments inside the patch). -Arun