Virtual storage device driver
First Claim
1. A method for creating a virtual storage device on a computer system, the method comprising:
- loading a system bus driver module, wherein the system bus driver module simulates a system bus;
creating a device on the simulated system bus;
returning a hardware ID, wherein the hardware ID identifies a type of the created device;
attaching, to the created device, a storage class driver corresponding to the type of the created device;
mounting a file to the created device; and
formatting the file.
2 Assignments
0 Petitions
Accused Products
Abstract
Disclosed is a method for a method for automating testing tasks which would otherwise have to be done manually using actual hardware by providing the capability to dynamically create many types of storage devices with different storage media, thus eliminating the need to have test machines with the actual hardware. In one embodiment a virtual storage device driver can be implemented that can be used to simulate various storage devices such as CD-ROM, CD-R, CD-RW, removable disk drives and fixed disk drives. Manual testing tasks such as testing autoplay functionality when a CD is inserted, CD burning, and CD audio playback testing can then be automated.
-
Citations
25 Claims
-
1. A method for creating a virtual storage device on a computer system, the method comprising:
-
loading a system bus driver module, wherein the system bus driver module simulates a system bus;
creating a device on the simulated system bus;
returning a hardware ID, wherein the hardware ID identifies a type of the created device;
attaching, to the created device, a storage class driver corresponding to the type of the created device;
mounting a file to the created device; and
formatting the file. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A method for reading from a virtual storage device on a computer system, the method comprising:
-
receiving, from a storage class driver, an I/O request for a sector on a drive on the virtual storage device;
calculating an offset in a backing store file corresponding to the sector; and
reading data contained in the sector. - View Dependent Claims (13)
-
-
14. A method for writing to a virtual storage device on a computer system, the method comprising:
-
receiving, from a storage class driver, an I/O request for a sector on a drive on the virtual storage device;
calculating an offset in a backing store file corresponding to the sector; and
writing data to the sector. - View Dependent Claims (15)
-
-
16. A computer-readable medium having computer-executable components comprising:
-
a system bus driver module for simulating a system bus;
a device creation module for creating a device on the simulated system bus and returning a hardware ID identifying a type of the created device;
a storage class attachment module for attaching, to the created device, a storage class driver corresponding to the type of the created device;
a file mounting module for mounting a file to the created device; and
a file formatting module for formatting the file. - View Dependent Claims (17, 18, 19, 20, 21, 22, 23, 24, 25)
-
Specification