lguest: fix typo
Signed-off-by: Alex Russell <giles.alex@hotmail.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
c0316a945a
commit
681f206611
|
@ -225,7 +225,7 @@ int run_guest(struct lg_cpu *cpu, unsigned long __user *user)
|
||||||
* eventfd (ie. the appropriate virtqueue thread)?
|
* eventfd (ie. the appropriate virtqueue thread)?
|
||||||
*/
|
*/
|
||||||
if (!send_notify_to_eventfd(cpu)) {
|
if (!send_notify_to_eventfd(cpu)) {
|
||||||
/* OK, we tell the main Laucher. */
|
/* OK, we tell the main Launcher. */
|
||||||
if (put_user(cpu->pending_notify, user))
|
if (put_user(cpu->pending_notify, user))
|
||||||
return -EFAULT;
|
return -EFAULT;
|
||||||
return sizeof(cpu->pending_notify);
|
return sizeof(cpu->pending_notify);
|
||||||
|
|
Reference in New Issue