[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Zhang Shukun <bitzsk@xxxxxxxxx>
  • Date: Wed, 3 Jun 2009 17:34:28 +0800
  • Delivery-date: Wed, 03 Jun 2009 02:35:11 -0700
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.