In my computer , the vm i installed was windows xp, but according to the "TEMU installation and user manual "book, when Configuring a new VM, the manual book i found has some ambiguity:“testdrv.sys” and "testdrv.reg ", it said that we need copy the "testdrv.sys" file to "C:\Windows \system32\drivers" directory, but then double-click the "testdrv.reg" file, i has some confused: it tells me to copy *.sys file , but then tells me to double-click the *.reg file, they are not the same one. i doubt whether the author has a clerical error... another question: how to copy the file "testdrv.sys" into the vm, i set the network, but it does not work for me . and the vm can not connect to the host os , hope someone give me some advice.
DP> In my computer , the vm i installed was windows xp, but according DP> to the "TEMU installation and user manual "book, when Configuring DP> a new VM, the manual book i found has some ambiguity "testdrv.sys" DP> and "testdrv.reg ", it said that we need copy the "testdrv.sys" DP> file to "C:\Windows \system32\drivers" directory, but then DP> double-click the "testdrv.reg" file, i has some confused: it tells DP> me to copy *.sys file , but then tells me to double-click the DP> *.reg file, they are not the same one. i doubt whether the author DP> has a clerical error...
I'm sorry to hear you found the manual confusing. However the distinction between "testdrv.sys" and "testdrv.reg" is intentional: there are two different files that you have to use in two different ways in order to complete the installation of the driver. "testdrv.sys" is the executable driver code, which you need to copy into the system directory. "testdrv.reg" consists of instructions for modifying the Windows registry, which are needed to enable the driver. The "testdrv.reg" file is pretty short, so you could potentially just make the changes manually in regedit, but our hope was that the script would be easier to use.
DP> another question: how to copy the file "testdrv.sys" into the vm? DP> i set the network, but it does not work for me . and the vm can not DP> connect to the host os , hope someone give me some advice.
Configuring the TEMU network should work the same as configuring a network under QEMU, so you might want to look at QEMU-oriented documentation for more details. If you're just copying files, I find that the "-net user" style of network with a software NAT, which is the default, is the easiest to use. The user manual also has instructions for using the "tap" network device, which is more complex to set up but provides more control of exactly which packets get to the virtual machine.
You can also transfer files using a virtual disk image. Perhaps the easiest one to set up for an inbound file transfer would be to make ".iso" CD image as if you were burning the files to a CD-R, and then attach to this in TEMU.
the problem has resolved , thanks very much! i copy the .sys file and add the regiser information into my vm os, now it can work as the manual book said , and it can catch the processes running in my OS.
On 12月14日, 上午5时12分, Stephen McCamant <s...@CS.Berkeley.EDU> wrote:
> DP> In my computer , the vm i installed was windows xp, but according > DP> to the "TEMU installation and user manual "book, when Configuring > DP> a new VM, the manual book i found has some ambiguity "testdrv.sys" > DP> and "testdrv.reg ", it said that we need copy the "testdrv.sys" > DP> file to "C:\Windows \system32\drivers" directory, but then > DP> double-click the "testdrv.reg" file, i has some confused: it tells > DP> me to copy *.sys file , but then tells me to double-click the > DP> *.reg file, they are not the same one. i doubt whether the author > DP> has a clerical error...
> I'm sorry to hear you found the manual confusing. However the > distinction between "testdrv.sys" and "testdrv.reg" is intentional: > there are two different files that you have to use in two different > ways in order to complete the installation of the driver. > "testdrv.sys" is the executable driver code, which you need to copy > into the system directory. "testdrv.reg" consists of instructions for > modifying the Windows registry, which are needed to enable the > driver. The "testdrv.reg" file is pretty short, so you could > potentially just make the changes manually in regedit, but our hope > was that the script would be easier to use.
> DP> another question: how to copy the file "testdrv.sys" into the vm? > DP> i set the network, but it does not work for me . and the vm can not > DP> connect to the host os , hope someone give me some advice.
> Configuring the TEMU network should work the same as configuring a > network under QEMU, so you might want to look at QEMU-oriented > documentation for more details. If you're just copying files, I find > that the "-net user" style of network with a software NAT, which is > the default, is the easiest to use. The user manual also has > instructions for using the "tap" network device, which is more complex > to set up but provides more control of exactly which packets get to > the virtual machine.
> You can also transfer files using a virtual disk image. Perhaps the > easiest one to set up for an inbound file transfer would be to make > ".iso" CD image as if you were burning the files to a CD-R, and then > attach to this in TEMU.