发明名称 Access to data for virtual devices
摘要 One embodiment of the present invention is a method for a virtual machine to access data from a virtual device, the method including: (a) attaching the virtual device to the virtual machine with a backing store that is a virtual image of a file system conforming to a predetermined file system format, wherein: (i) file system data is stored in one or more files, (ii) the virtual image includes metadata stored apart from the file system data, which metadata corresponds to the predetermined file system format, (iii) the metadata includes one or more directory records, and (iv) the one or more directory records include information that points directly or indirectly to the file system data; (b) issuing a read request for a block of data from the file system as if stored in the predetermined file system format; (c) accessing the metadata and determining the location of the requested block of data in the file system data; and (d) retrieving the requested block of data from the file system data.
申请公布号 US8819674(B2) 申请公布日期 2014.08.26
申请号 US200812195763 申请日期 2008.08.21
申请人 WMware, Inc. 发明人 Parikh Roopak;Joshi Kiran;Raghuram Sirish;Murthy Karthik Sreenivasa;Snehal Vasani Soam
分类号 G06F9/455 主分类号 G06F9/455
代理机构 代理人
主权项 1. A method for a virtual machine to access data from a virtual device, the method comprising: attaching the virtual device to the virtual machine, wherein the virtual device is backed by an image comprising file system metadata stored in accordance with a structure of a file system supported by the virtual device and data for files indicated by the file system metadata as being stored at sector offsets in the image are stored separate from the image, and wherein the image stores a mapping table including mappings from sector offsets in the image to locations storing data for files stored separately from the image; receiving a read request for a block of data corresponding to one of the files from the virtual device; accessing a file system record associated with the read request in a directory located in the image, wherein file system metadata in the file system record includes a sector offset in the image for the file corresponding to the block of data, and wherein the sector offset is a first location in the image; accessing the mapping table to map the sector offset to a second location storing the file for the block of data that is separate from the image; and retrieving the requested block of data from the second location.
地址 Palo Alto CA US