All of lore.kernel.org
 help / color / mirror / Atom feed
From: Akio Takebe <takebe_akio@jp.fujitsu.com>
To: Simon Horman <horms@verge.net.au>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	"Zhai, Edwin" <edwin.zhai@intel.com>,
	"Cui, Dexuan" <dexuan.cui@intel.com>,
	"Han, Weidong" <weidong.han@intel.com>,
	Keir Fraser <keir.fraser@eu.citrix.com>,
	Christian Tramnitz <chris.ace@gmx.net>
Subject: Re: Bug in pci-detach (Was: Re: Re: VT-d HowTo Update)
Date: Wed, 22 Apr 2009 11:18:53 +0900	[thread overview]
Message-ID: <49EE7E8D.6080102@jp.fujitsu.com> (raw)
In-Reply-To: <20090422014446.GA30419@verge.net.au>

Hi, Simon

Simon Horman wrote:
> On Wed, Apr 22, 2009 at 09:11:58AM +1000, Simon Horman wrote:
>> On Tue, Apr 21, 2009 at 05:16:14PM +0800, Cui, Dexuan wrote:
>>> Simon Horman wrote:
>>>> Hi,
>>>>
>>>> in preparation for 3.4.0 I have made a number of updates to the VT-d
>>>> Howto. I have tried to retain the original information while
>>>> reorganising things a bit. I have also added information on recent
>>>> work I have done in this area. 
>>>>
>>>> Apologies in advance for any errors, accidental deletions, etc...
>>>>
>>>> http://wiki.xensource.com/xenwiki/VTdHowTo
>>> Hi Simon,
>>> There is a bug: we can't pci-detach a statically-assigned (I mean: use the pci string in hvm config file) devices for hvm guest.
>>> Accordong my limited experience, after a device is assigned to hvm guest, ioemu does write the correct vslots value into xenstore, but looks xend can't get the correct value somwhow.
>>> Could you help to have a look? Thanks!
>> Sure, I can look into that. Do you have a version that you are worried
>> about? It did seem to work the last time that I checked.
> 
> Hi Dexuan,
> 
> I am seeing this bug too. I'll try and get a fix ASAP.
> 

Does AUTO_PHP_SLOT also support hotplug?

@tools/python/xen/xend/XendDomainInfo.py

     def hvm_destroyPCIDevice(self, vslot):
         log.debug("hvm_destroyPCIDevice called %s", vslot)

         if not self.info.is_hvm():
             raise VmError("hvm_destroyPCIDevice called on non-HVM guest")
... snip ...
         if vslot == AUTO_PHP_SLOT:
             raise VmError("Device @ vslot 0x%x doesn't support hotplug." % (vslot))

Best Regards,

Akio Takebe

  reply	other threads:[~2009-04-22  2:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-22  1:44 Bug in pci-detach (Was: Re: Re: VT-d HowTo Update) Simon Horman
2009-04-22  2:18 ` Akio Takebe [this message]
2009-04-22  4:12   ` Simon Horman
2009-04-22  2:50 ` Simon Horman
2009-04-22  3:37   ` Zhai, Edwin
2009-04-22  4:13     ` Simon Horman
2009-04-22  8:28       ` Zhai, Edwin
2009-04-23  0:36         ` Simon Horman
2009-04-23  0:46   ` Simon Horman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49EE7E8D.6080102@jp.fujitsu.com \
    --to=takebe_akio@jp.fujitsu.com \
    --cc=chris.ace@gmx.net \
    --cc=dexuan.cui@intel.com \
    --cc=edwin.zhai@intel.com \
    --cc=horms@verge.net.au \
    --cc=keir.fraser@eu.citrix.com \
    --cc=weidong.han@intel.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.