Confuses about "Configuring a new VM"

40 views
Skip to first unread message

liangguangcheng

unread,
Apr 8, 2012, 10:27:55 PM4/8/12
to BitBlaze User Discussion group
Hi,
I am new to TEMU. Following the steps the manual book writes, I have
built and installed TEMU. I want to known if what I should do next is
"Configuring a new VM" ? In "Configuring a new VM" step, which VMs
should I configure?

I have two computers, both have installed only one system, one is
windows xp sp3, the other is ubuntu 11.10. All I have done about TEMU
is one the ubuntu OS. I never used xp OS.

In "Configuring a new VM" part, it appears a word "guest OS", is that
means I should use another computer as a guest OS and the ubuntu OS as
a host ? If so,which OS shoule I configure?

I really need your help, thank you very much.

Alex Bazhanyuk

unread,
Apr 8, 2012, 10:48:46 PM4/8/12
to bitblaz...@googlegroups.com
If you using windows xp (as guest OS) then you need upload testdrv to inside windows xp. testdrv in temu code.
If you using linux (as guest OS) then you need configuration kernelinfo.conf
For example, i using Ubuntu 8.04.4

Thanks,
Alex

liangguangcheng

unread,
Apr 8, 2012, 11:19:44 PM4/8/12
to BitBlaze User Discussion group
Hi, Alex, thank you very much for your help.
You mean that I should use the two computers? I can use the one
installed ubuntu OS as the host OS, and the other computer which is
installed xp OS as guest OS?
Thank you very much.
By the way, could you explain to me why TEMU need two OSs? Don't we
use TEMU in only one OS with giving input and get its output?


On Apr 9, 10:48 am, Alex Bazhanyuk <virvd...@gmail.com> wrote:
> If you using windows xp (as guest OS) then you need upload testdrv to
> inside windows xp. testdrv in temu code.
> If you using linux (as guest OS) then you need configuration kernelinfo.conf
> For example, i using Ubuntu 8.04.4
>
> Thanks,
> Alex
>

Alex Bazhanyuk

unread,
Apr 8, 2012, 11:33:54 PM4/8/12
to bitblaz...@googlegroups.com
TEMU = QEMU + tracing module
QEMU: http://wiki.qemu.org/Main_Page http://en.wikipedia.org/wiki/QEMU
TEMU has guest OS for tracing application.
Guest OS (windows xp/ubuntu) inside TEMU.
Application which you test inside Guest OS.
Tracecap - plugin for tracing that application.

Thanks,
Alex

Stephen McCamant

unread,
Apr 9, 2012, 6:45:22 PM4/9/12
to bitblaz...@googlegroups.com
>>>>> "LGC" == liangguangcheng <lianggu...@126.com> writes:

LGC> Hi,
LGC> I am new to TEMU. Following the steps the manual book writes, I
LGC> have built and installed TEMU. I want to known if what I should
LGC> do next is "Configuring a new VM" ? In "Configuring a new VM"
LGC> step, which VMs should I configure?

LGC> I have two computers, both have installed only one system, one is
LGC> windows xp sp3, the other is ubuntu 11.10. All I have done about
LGC> TEMU is one the ubuntu OS. I never used xp OS.

LGC> In "Configuring a new VM" part, it appears a word "guest OS", is
LGC> that means I should use another computer as a guest OS and the
LGC> ubuntu OS as a host ? If so,which OS shoule I configure?

As Alex mentions, TEMU is, like the QEMU system it is based on, a
hosted virtual machine monitor. That is to say, TEMU is a program that
runs under one operating system, and provides a virtual machine that
can run another possibly different operating system and all of its
applications. Just like when you use a system like VMware or
VirtualBox, TEMU lets you run a second operating system in a process
within another operating system, all on one physical machine.

We use the terminology of "host" and "guest" to distinguish between
the two operating systems, architectures, etc., that are running at
once.

The OS that's running on the real hardware, and which has TEMU as a
process, is the host OS. You could say that the host OS runs "under"
TEMU. The only host OS that TEMU supports is Linux: TEMU 1.0 supports
Linux on 32-bit x86 hosts, and with some patches TEMU can also work on
a 64-bit Linux x86 host.

The OS that runs within TEMU is the guest OS. The way you use TEMU for
analysis is to run the software you want to analyze (trace, etc.)
inside the guest OS. TEMU supports 32-bit x86 code for the guest OS,
in particular Windows XP and Linux.

In your situation, it sounds like the computer on which you are
running Ubuntu 11.10 is the host machine. The guest machine will be a
new virtual machine that you create: it can use either Windows XP or
Linux, depending on what software you want to analyze. In either case
you will need to create a virtual machine from scratch, and install
Windows or Linux on it as appropriate. After you have gone through the
other steps of installing the guest OS, the "Configuring a new VM"
section of the manual describes some additional steps for you to do
within the newly installed guest OS to make it work correctly with
TEMU.

Hope this helps,

-- Stephen

Reply all
Reply to author
Forward
0 new messages