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 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Error 2 opening /bin/ls in domU?

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Error 2 opening /bin/ls in domU?
From: Zhang Shukun <bitzsk@xxxxxxxxx>
Date: Wed, 3 Jun 2009 17:34:28 +0800
Delivery-date: Wed, 03 Jun 2009 02:35:11 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=khXsoXlI6iPHFVsTTSVEwqAChqcEDUUwLUC5rLvYeVA=; b=kG3+vyOtbgCWmhVp+ygeAmuLHS6vOmnZvYu9gj3pJ4tgLx3g43pDW/X0VlH+T7DfEq g+Tcb+YVeHIsREh/slDcPvRHis5MJkjT1xN5M4/8HDPCjEefubg1ukQpjVjBpyCgKcfl 66cGfZxOuqSJtJHCtCqPK0bqUvP2G7FdSxME4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=v5MZU4Gopu+4F4LvaV50Ab33TKlzcQo8wAkw1hmKw9viqdRrHv260y/P1aFDDNLEjS wXQgphH3VGly3RbaLwO8tB2uU7NT99Ge2ZoO0a1MGZuHm84ouTEGcBxVvGWfmeNs1Dav dz4jqS5szZitz1yMHVu7rLFYMK2OnC07T50mM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
hi,

i want  to open /bin/ls file in domU kernel, so i put

filp_open("/bin/ls",O_RDONLY,0)

into the talk_to_backend funtion.  but after compile the xen to  boot up domU.

error happened:  Error 2 opening /bin/ls

i guess this time ,the domU filesystem have not been mounted yet, but which  function should i put filp_open in is right?

many thanks for your reply!
--
Best regards,
张树坤
北京理工大学,计算机科学技术学院
Sucan
Computer Department,Beijing Institute of Technology,China
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Error 2 opening /bin/ls in domU?, Zhang Shukun <=