Re: [PATCH] KVM: IA64: Using CFLAGS_vcpu.o to compile vcpu.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Zhang, Xiantao wrote:
Avi Kivity wrote:
Zhang, Xiantao wrote:
Can you provide more information on how this was only discovered
now? Was there a change in mainline that removed support for
EXTRA_CFLAGS?]
It should be an old issue we didn't sense before.  To specify single
object's compile option, only CFLAGS can work in this case.
How did we not notice the issue?  What is the effect of the missing
flags? It seems like a critical problem that should prevent kvm from working
at all, so I don't understand how it was discovered so late.

Once missing this flags, compiler can touch the fixed registers and leads to faults. But fortunately,current gcc didn't use them for optimizations, so we didn't find it before. But anyway it should be a potential issue. Updated one, remove kernel's default range.

Okay, so it worked by accident?

Subject: [PATCH] KVM: ia64: Fix: Use CFLAGS_vcpu.o to compile vcpu.c

EXTRA_CFLAGS doesn't work for this case.Without this flag,
it may result in compiler touch fixed registers.

Applied, thanks.

--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.

--
To unsubscribe from this list: send the line "unsubscribe kvm-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux KVM Devel]     [Linux Virtualization]     [Big List of Linux Books]     [Linux SCSI]     [Yosemite Forum]

  Powered by Linux