WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-users

[Top] [All Lists]

[Xen-users] Re: Xen pci device #0

To: James Harper <james.harper@xxxxxxxxxxxxxxxx>
Subject: [Xen-users] Re: Xen pci device #0
From: Liwei <xieliwei@xxxxxxxxx>
Date: 2011年6月30日 15:29:39 +0800
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2011年6月30日 00:32:20 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=NQ/YTrffRVERFrjEWanAmKwlvFJ71GuHweruj6rpPYk=; b=NJy1w8kb9e7jocqOgEYsyJ295qquUXXan/8gQBxsaD4sBirPOqm4Ia9RcUzLPyJFfo uFwxK9/ecWwy8iz55LRkpgO8th71kK1Qz1lkYC8MLFyyUDf0TiDvYmT0M8x6OZoA//5v lskio+zRQ4+uWGlYcyvYpFG2XUx3wkHL446nI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D01D57EF4@trantor >
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <BANLkTikjQSc00JZoxnBAkqM+0cUR3xXVJg@xxxxxxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D01D57EF4@trantor >
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 30 June 2011 14:57, James Harper <james.harper@xxxxxxxxxxxxxxxx> wrote:
>
> Are you passing through any pci devices? The main driver (xenpci -
> although it is nothing to do with pci passthrough) creates a device node
> for everything under the devices key in xenstore and so it creates a
> node for a pci passthrough device even though there is no driver for it.
Nope I'm only testing PV drivers on this VM, xl pci-list domU gives me
an empty table:
# xl pci-list XenPVXP
Vdev Device
#
> I don't think that is normal. I see activity on my systems when using
> xentop.
Just to confirm, am I supposed to change anything in the VM
configuration? Even on ioemu, the emulated NIC was hidden and the
XenNet device loaded instead, so I assumed everything else would
behave similarly.
Just did a quick check by changing the lines to:
vif = [ 'type=netfront, bridge=xenbr0' ]
disk = [ 'phy:/dev/mapper/VMStore-XPPV,xvdb,w', 'file:/XPSP3.iso,xvda:cdrom,r' ]
Still the same, xentop reports activity for the network device but not
the block device:
 NAME STATE CPU(sec) CPU(%) MEM(k) MEM(%) MAXMEM(k)
MAXMEM(%) VCPUS NETS NETTX(k) NETRX(k) VBDS VBD_OO VBD_RD VBD_WR
 VBD_RSECT VBD_WSECT SSID
 XenPVXP ------ 113 77.6 1038180 6.2 1049600
6.3 2 1 198 3 0 0 0 0
 0 0 0
This appears in the QEMU log:
Using xvdb for guest's hdb
Strip off blktap sub-type prefix to /dev/mapper/VMStore-XPPV (drv 'aio')
Using file /dev/mapper/VMStore-XPPV in read-write mode
Using xvda for guest's hda
Strip off blktap sub-type prefix to /XPSP3.iso (drv 'aio')
Using file /XPSP3.iso in read-only mode
> Definitely sounds like something is wrong there... are you running the
> debug build of the drivers? If so, things are logged to
> /var/log/xen/qemu-dm-<domu name>.log. If too much is logged then qemu
> tends to throttle the domu which could do things like you describe.
>
> Have a look in the /var/log/xen/qemu-dm-<domu name>.log file and see if
> it is getting a lot of information logged to it.
Not running the debug version. But these lines in the log file are suspect:
Unknown PV product 2 loaded in guest
PV driver build 1
xen be: qdisk-51728: xen be: qdisk-51728: error: unknown operation (255)
error: unknown operation (255)
>
> James
>
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-users] Cannot use xm in Xen 4.1 , Stan Ioan
Next by Date: [Xen-users] Re: Xen pci device #0 , Liwei
Previous by Thread: [Xen-users] RE: Xen pci device #0 , James Harper
Next by Thread: [Xen-users] Re: Xen pci device #0 , Liwei
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /