Re: [PATCHv2] trace "exit to userspace" event

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

 



 On 11/01/2010 03:43 PM, Marcelo Tosatti wrote:
On Mon, Nov 01, 2010 at 03:33:20PM -0400, Avi Kivity wrote:
>   On 11/01/2010 12:06 PM, Marcelo Tosatti wrote:
>  >On Sun, Oct 24, 2010 at 04:49:08PM +0200, Gleb Natapov wrote:
>  >>   Add tracepoint for userspace exit.
>  >>
>  >>   Signed-off-by: Gleb Natapov<gleb@xxxxxxxxxx>
>  >>   ---
>  >>     ChangeLog:
>  >>     v1->v2
>  >>      log error case too.
>  >
>  >Applied, thanks.
>  >
>
>  errno sign is still flipped, no?

No, kvm_arch_vcpu_ioctl_run return -errno on error.


It's true that this is how the kernel ABI is defined, but for a user errnos are positive.

--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.

--
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