Re: [PATCH] KVM x86: Handle hypercalls for assigned PCI devices

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Amit Shah <amit.shah@...>
Cc: Glauber Costa <gcosta@...>, <kvm-devel@...>, <virtualization@...>, <muli@...>, <BENAMI@...>, <chrisw@...>, <dor.laor@...>, <allen.m.kay@...>, <linux-kernel@...>
Date: Tuesday, April 29, 2008 - 6:48 pm

Amit Shah wrote:

If the guest is not able to handle it, why bother returning an error?  
Better to kill it.

But in any case, -1 is not a good error number.


kmap()ed pages can't be swapped out either.  The atomic in kmap_atomic() 
only refers to the context in which the pages are used.  Atmoic kmaps 
are greatly preferable to the nonatomic ones.

-- 
Any sufficiently difficult bug is indistinguishable from a feature.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
PV DMA for PCI passthrough devices for KVM, Amit Shah, (Tue Apr 29, 6:37 am)
Re: PV DMA for PCI passthrough devices for KVM, Andi Kleen, (Tue Apr 29, 9:15 am)
Re: [PATCH] KVM x86: Handle hypercalls for assigned PCI devi..., Avi Kivity, (Tue Apr 29, 6:48 pm)
[PATCH] KVM PV Guest: Implement paravirtualized DMA, Amit Shah, (Tue Apr 29, 6:37 am)