top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How does Virtual Machine Works?

+1 vote
522 views

Please understand the scenario -

I have installed vmWare in my windows PC, and using vmWare i have installed Linux. So basically I have 2 OS running at the same time.

Now below listed are my Queries,

1) I have inserted pen drive/Flash drive which i am not able to see in linux but in windows i am able to see it. Why?

2) Who manages the CPU?
Windows or Linux?
If windows manages CPU for its own process and Linux manages CPU for its own process, then what if number of process running in linux increases?

3) What about RAM?
Lets say perticular address of RAM is being used by Windows then how Linux will get to know that this address is not free?

4) How hardware is managed?
Lets say linux wants to do some I/O operation, so,, I/O operation is done by linux only or it takes windows in between?
If No then how Synchronization happen for that device?
If Yes then how Linux will talk with Windows?

Thanks in advance.

posted Nov 2, 2015 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes
 
Best answer

Find my answers inline

1) I have inserted pen drive/Flash drive which i am not able to see in linux but in windows i am able to see it. Why?
[SALIL] You need to mount the device to see it.

2) Who manages the CPU?
Windows or Linux?
If windows manages CPU for its own process and Linux manages CPU for its own process, then what if number of process running in linux increases?
[SALIL] Your base OS is windows so windows manages the CPU, Linux is a virtual OS running over Windows not over Hardware directly.

3) What about RAM?
Lets say particular address of RAM is being used by Windows then how Linux will get to know that this address is not free?
[SALIL] You allocate the space (memory and disk) while starting VMVare which windows reserve it for linux only hence no confusion.

4) How hardware is managed?
Lets say linux wants to do some I/O operation, so,, I/O operation is done by linux only or it takes windows in between?
If No then how Synchronization happen for that device?
If Yes then how Linux will talk with Windows?
[SALIL] Check my answer in Q2, windows is the base OS and everything is done by windows only.

answer Nov 2, 2015 by Salil Agrawal
Thank you sir,

but i have checked my vmware settings,
In that i have seen that total memory(RAM) is given to virtual OS is 2 GB.

and on my system i have total 2GB of RAM.
So, here how RAM is being shared between both OS?

Thanks in advance.
Not very sure, may be some virtual memory been used.
Similar Questions
+1 vote

Lets say, I have a system with only 1 core and with Windows OS. Using VMWare I am installing Linux on that. Can I share this core for VM and Base OS?

I mean if we have number of core 4 then in vmware we can assign 2 core. So, 2 Core for Linux and 2 core for windows. But what if I have number of core only 1, or if i have number of core 4 and in vmware I assign 4 core to Linux.

Will it share the core time wise?

+1 vote

Through VM have installed RHEL6.5 on Windows 7. From VM I can ping other systems, but from other systems I can not ping local VM?

ifconfig shows only 2 interface,
1) etho that is 192.168.180.1
2) lo that is 127.0.0.0

+2 votes

Lets assume that i have 2 OS installed, (Linux and Windows).

Both have different file system and both have different mechanism to read/write files.

Then how both OS Shares file information?

+1 vote

i have compiled a code in Linux (gcc compiler).. is it possible to run that binary on windows machine?

0 votes

I am looking for internals how a host windows machine provides communication to virtual machines created through Oracle VM box ?

...