Re: Regarding KVM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In short, when you running qemu and enabled KVM, kvm only gives
virtual cpu and gets the commands from your vm and give them to VT.
KVm does  not have other hardware.  The hardware are provided by qemu
or other vms.


> -----Original Message-----
> From: kvm-owner@xxxxxxxxxxxxxxx [mailto:kvm-owner@xxxxxxxxxxxxxxx] On Behalf Of David Mair
> Sent: Wednesday, 28 December, 2011 09:43
> To: adapa.ajith@xxxxxxxxx
> Cc: kvm@xxxxxxxxxxxxxxx
> Subject: Re: Regarding KVM
>
> Hi
>
> On 12/27/2011 03:25 AM, Ajith Adapa wrote:
>> Hi,
>>
>> I am new to KVM stuff and had very BASIC (might be lame even) doubts
>> regarding KVM.
>>
>> As per the various diagrams I have gone through in internet my
>> understanding is KVM is an hypervisor on top of which all VMs run.
>>
>> In case of FULL VIRTUALIZATION .. KVM will be directly running on top
>> of HARDWARE and VMs will be running on top of KVM .
>> In that case we dont need any support of other linux modules or subsystems ?
>>
>> vm1 ... vmn
>> --------------
>> |   KVM      |
>> --------------
>> Hardware
>
> Not in my experience. kvm is drivers on a host kernel which has other drivers in order to function (at least to boot) and a user-space (at least qemu instances). kvm does provide I/O virtualization to the extent that host devices you only want to be used in a guest can be ignored without host drivers and only operated from the guest as-if a guest device with guest drivers but there will still be things like I/O port access trapping and interrupts will happen on host processors at any juncture so presumably quickly routed by kvm behavior to service routines after switching to a suitable guest context, though I'm no expert on the code.
>
>> Actually I am very much intrested in networking component of
>> virtualization. So does KVM provides any specific support for
>> networking in case of virtualization ?
>
> You can take a host NIC and use it's drivers in a guest to operate it.
> You can use tap interfaces for a guest and bridge them to host interfaces which can include bridged physical NICs or not and/or use host IP stack configuration to route guest traffic from its own IP network to any reachable by the host. On most of my kvm hosts I have bridges br0, br1 and br8 to simulate the vmnet0 (bridged - physical network access), vmnet1 (host only - isolated guests with host
> connectivity) and vmnet8 (NAT - routing from a host only network to anything reachable by the host) configurations you get on many default vmware configurations. I tried the I/O device virtualization quite a while ago and it wasn't reliable enough and, although I'm sure it's much improved, with the configuration I use I've never needed to try again.
>
>> Sorry if there is any developer guide for KVM will be more helpful for me.
>
> --
> David.
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
> ----------------------------------------------------------------------
> This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and be advised that any review or dissemination of, or the taking of any action in reliance on, the information contained in or attached to this message is prohibited.
> Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Sender. Subject to applicable law, Sender may intercept, monitor, review and retain e-communications (EC) traveling through its networks/systems and may produce any such EC to regulators, law enforcement, in litigation and as required by law.
> The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or free of errors or viruses.
>
> References to "Sender" are references to any subsidiary of Bank of America Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a Condition to Any Banking Service or Activity * Are Not Insured by Any Federal Government Agency. Attachments that are part of this EC may have additional important disclosures and disclaimers, which you should read. This message is subject to terms available at the following link:
> http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you consent to the foregoing.
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux