title: Booting xv6 with qemu
body: <p>I am trying to boot xv6 with qemu but whenever I run <code>make qemu</code> , I am getting the following error</p>
  <pre><code>usertests.c: In function ‘sbrktest’:
  usertests.c:1461:13: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
   1461 |   *lastaddr = 99;
        |   ~~~~~~~~~~^~~~
  cc1: all warnings being treated as errors
  make: *** [&lt;builtin&gt;: usertests.o] Error 1
  </code></pre>
  <p>Running <code>make qemu-nox</code> resulted in same error.I am using <code>Kubuntu 21.10</code> operating system.<a href="https://www.reddit.com/r/ManjaroLinux/comments/p4445x/help_xv6_installation_on_manjaro/" rel="noreferrer">here</a> is a way around but I am looking for a solution if anyone finds out.</p>