Change default werror semantics from "report" to "enospc"
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 28 Feb 2009 16:51:01 +0000 (16:51 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 28 Feb 2009 16:51:01 +0000 (16:51 +0000)
commitcdad4bd8940c6fb1616733550663d006c611b2f4
tree2fe034f29576ed1e9e17b6e3d517e1e088bcf2b3
parenta457e7ee3daeb94b65a1a5a11258bd8b66673269
Change default werror semantics from "report" to "enospc"

Practically speaking, "report" causes a lot of issues when encountering a host
ENOSPC error.  Switch to "enospc" as the default werror semantics.  All host
errors other than ENOSPC will be reported to the guest.  ENOSPC will cause the
VM to stop.  Asynchronous notifications are needed to inform management tools
that some action should be taken but stopping the VM is at least better than
undefined behavior in the guest.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6655 c046a42c-6fe2-441c-8c8c-71466251a162
vl.c