On Wed, Mar 21, 2018 at 04:04:29PM +0100, Paolo Bonzini wrote:
> On 21/03/2018 15:46, Michael S. Tsirkin wrote:
> > +if (m@^\s*#include\s+"qemu/@o) {
> > + s@^(\s*#include\s+)"qemu/([^"]+)"(.*)$@$1<qemu/common/$2>$3@o) {
> > +} else {
> > + s@^(\s*#include\s+)"([^"]+)"(.*)$@$1<qemu/$2>$3@o) {
> > +}
>
> Can you explain the changes in the source tree layout?
include/qemu -> include/qemu/common
include/* -> include/qemu/*
Thus one uses any qemu headers with
#include <qemu/....>
we can do the conversion gradually and avoid a flag day
with some use of softlinks.
> Also, s{}{} and m{} are a bit more readable.
>
> Paolo
Thanks, will use.
--
MST