Re: [PATCH 07/20] qemu-kvm: Clean up kvm_update_interrupt_request

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

 



On 05/27/2011 03:19 PM, Jan Kiszka wrote:
Most tests in kvm_update_interrupt_request are unneeded today:
  - env argument is always non-NULL (caller references it as well)
  - current_env must have been created when we get here
  - env->thread can't be zero (initialized early during cpu creation)

So simply avoid self signaling and multiple kicks, drop the rest.


Why must there be a current_env?

Although the logic you remove seems to be meaningless. It folds back to the new code whether current_env is set or not.

--
error compiling committee.c: too many arguments to function

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