Il 23/04/2012 15:19, Michael S. Tsirkin ha scritto:
> @@ -694,7 +698,7 @@ static bool vring_notify(VirtIODevice *vdev, VirtQueue 
> *vq)
>      uint16_t old, new;
>      bool v;
>      /* We need to expose used array entries before checking used event. */
> -    mb();
> +    smp_mb();

This mb() is not in upstream QEMU, only in qemu-kvm.

Paolo

Reply via email to