qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Re: software breakpoints disappearing/reappearing in KV


From: Avi Kivity
Subject: Re: [Qemu-devel] Re: software breakpoints disappearing/reappearing in KVM/qemu
Date: Sun, 10 Apr 2011 17:01:00 +0300
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Lightning/1.0b3pre Thunderbird/3.1.9

On 04/08/2011 11:52 PM, Jan Kiszka wrote:
QEMU's gdbstub in KVM mode is simply not designed to account for guests
swapping out code pages that contain breakpoints. Due to the fact that
the Linux kernel does not do these weird things to its own code,

It actually happily patches its own code at certain circumstances. If you debug early boot or suspend/resume or cpu hotplug you're likely to encounter them.

  at
least I never seriously thought about potential workarounds. As your
approach indicates, those might become fairly guest-specific - if they
can be implemented reliably at all.

--
error compiling committee.c: too many arguments to function




reply via email to

[Prev in Thread] Current Thread [Next in Thread]