qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] disable clocksource=kvm-clock
@ 2010-06-01 13:12 Peter Lieven
  2010-06-01 13:17 ` [Qemu-devel] " Avi Kivity
  0 siblings, 1 reply; 8+ messages in thread
From: Peter Lieven @ 2010-06-01 13:12 UTC (permalink / raw)
  To: qemu-devel, kvm

hi,

is it possible to avoid detection of clocksource=kvm_clock in a linux 
guest by
patching the qemu-kvm binary?
i would like to be able to avoid a guest detecting kvm-clock until bug 
#584516
is fixed without modifying all guest systems and reverting that later.

thanks,
peter

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Qemu-devel] Re: disable clocksource=kvm-clock
  2010-06-01 13:12 [Qemu-devel] disable clocksource=kvm-clock Peter Lieven
@ 2010-06-01 13:17 ` Avi Kivity
  2010-06-01 13:57   ` Peter Lieven
  0 siblings, 1 reply; 8+ messages in thread
From: Avi Kivity @ 2010-06-01 13:17 UTC (permalink / raw)
  To: Peter Lieven; +Cc: qemu-devel, kvm

On 06/01/2010 04:12 PM, Peter Lieven wrote:
> hi,
>
> is it possible to avoid detection of clocksource=kvm_clock in a linux 
> guest by
> patching the qemu-kvm binary?
> i would like to be able to avoid a guest detecting kvm-clock until bug 
> #584516
> is fixed without modifying all guest systems and reverting that later.
>

Newer qemu-kvm's will have this feature (using -cpu ...,-kvmclock).

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] Re: disable clocksource=kvm-clock
  2010-06-01 13:17 ` [Qemu-devel] " Avi Kivity
@ 2010-06-01 13:57   ` Peter Lieven
  2010-06-01 14:01     ` Avi Kivity
  0 siblings, 1 reply; 8+ messages in thread
From: Peter Lieven @ 2010-06-01 13:57 UTC (permalink / raw)
  To: Avi Kivity; +Cc: qemu-devel, kvm

Avi Kivity wrote:
> On 06/01/2010 04:12 PM, Peter Lieven wrote:
>> hi,
>>
>> is it possible to avoid detection of clocksource=kvm_clock in a linux 
>> guest by
>> patching the qemu-kvm binary?
>> i would like to be able to avoid a guest detecting kvm-clock until 
>> bug #584516
>> is fixed without modifying all guest systems and reverting that later.
>>
>
> Newer qemu-kvm's will have this feature (using -cpu ...,-kvmclock).
>
with latest git, i can supply this switch, but

cat /sys/devices/system/clocksource/clocksource0/current_clocksource

still shows kvm_clock in an opensuse 11.2 64-bit or an ubuntu 10.04 
64-bit guest.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] Re: disable clocksource=kvm-clock
  2010-06-01 13:57   ` Peter Lieven
@ 2010-06-01 14:01     ` Avi Kivity
  2010-06-01 14:06       ` Peter Lieven
  2010-06-02  9:58       ` Peter Lieven
  0 siblings, 2 replies; 8+ messages in thread
From: Avi Kivity @ 2010-06-01 14:01 UTC (permalink / raw)
  To: Peter Lieven; +Cc: qemu-devel, kvm

On 06/01/2010 04:57 PM, Peter Lieven wrote:
> Avi Kivity wrote:
>> On 06/01/2010 04:12 PM, Peter Lieven wrote:
>>> hi,
>>>
>>> is it possible to avoid detection of clocksource=kvm_clock in a 
>>> linux guest by
>>> patching the qemu-kvm binary?
>>> i would like to be able to avoid a guest detecting kvm-clock until 
>>> bug #584516
>>> is fixed without modifying all guest systems and reverting that later.
>>>
>>
>> Newer qemu-kvm's will have this feature (using -cpu ...,-kvmclock).
>>
> with latest git, i can supply this switch, but
>
> cat /sys/devices/system/clocksource/clocksource0/current_clocksource
>
> still shows kvm_clock in an opensuse 11.2 64-bit or an ubuntu 10.04 
> 64-bit guest.

Try again with tomorrow's git, I sent out a patchset earlier today that 
fixes this.

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] Re: disable clocksource=kvm-clock
  2010-06-01 14:01     ` Avi Kivity
@ 2010-06-01 14:06       ` Peter Lieven
  2010-06-01 14:10         ` Avi Kivity
  2010-06-02  9:58       ` Peter Lieven
  1 sibling, 1 reply; 8+ messages in thread
From: Peter Lieven @ 2010-06-01 14:06 UTC (permalink / raw)
  To: Avi Kivity; +Cc: qemu-devel, kvm

Avi Kivity wrote:
> On 06/01/2010 04:57 PM, Peter Lieven wrote:
>> Avi Kivity wrote:
>>> On 06/01/2010 04:12 PM, Peter Lieven wrote:
>>>> hi,
>>>>
>>>> is it possible to avoid detection of clocksource=kvm_clock in a 
>>>> linux guest by
>>>> patching the qemu-kvm binary?
>>>> i would like to be able to avoid a guest detecting kvm-clock until 
>>>> bug #584516
>>>> is fixed without modifying all guest systems and reverting that later.
>>>>
>>>
>>> Newer qemu-kvm's will have this feature (using -cpu ...,-kvmclock).
>>>
>> with latest git, i can supply this switch, but
>>
>> cat /sys/devices/system/clocksource/clocksource0/current_clocksource
>>
>> still shows kvm_clock in an opensuse 11.2 64-bit or an ubuntu 10.04 
>> 64-bit guest.
>
> Try again with tomorrow's git, I sent out a patchset earlier today 
> that fixes this.
>
avi, i do not know whats going on. but if i supply -cpu xxx,-kvmclock 
the guest
still uses kvm-clock, but it seems bug #584516 is not triggered...
thats weird...

br,
peter


-- 
Mit freundlichen Grüßen/Kind Regards

Peter Lieven

..........................................................................................................

   KAMP Netzwerkdienste GmbH
   Vestische Str. 89-91 | 46117 Oberhausen
   Tel: +49 (0) 208.89 402-50 | Fax: +49 (0) 208.89 402-40
   mailto:pl@kamp.de | http://www.kamp.de

   Geschäftsführer: Heiner Lante | Michael Lante
   Amtsgericht Duisburg | HRB Nr. 12154
   USt-Id-Nr.: DE 120607556

......................................................................................................... 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] Re: disable clocksource=kvm-clock
  2010-06-01 14:06       ` Peter Lieven
@ 2010-06-01 14:10         ` Avi Kivity
  2010-06-01 14:17           ` Peter Lieven
  0 siblings, 1 reply; 8+ messages in thread
From: Avi Kivity @ 2010-06-01 14:10 UTC (permalink / raw)
  To: Peter Lieven; +Cc: qemu-devel, kvm

On 06/01/2010 05:06 PM, Peter Lieven wrote:
>
> avi, i do not know whats going on. but if i supply -cpu xxx,-kvmclock 
> the guest
> still uses kvm-clock, but it seems bug #584516 is not triggered...
> thats weird...

I guess that bug was resolved in qemu-kvm.git.  Likely 1a03675db1, but 
it appears to be part of 0.12 too, so not sure.

What qemu-kvm were you using previously?

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] Re: disable clocksource=kvm-clock
  2010-06-01 14:10         ` Avi Kivity
@ 2010-06-01 14:17           ` Peter Lieven
  0 siblings, 0 replies; 8+ messages in thread
From: Peter Lieven @ 2010-06-01 14:17 UTC (permalink / raw)
  To: Avi Kivity; +Cc: qemu-devel, kvm

Avi Kivity wrote:
> On 06/01/2010 05:06 PM, Peter Lieven wrote:
>>
>> avi, i do not know whats going on. but if i supply -cpu xxx,-kvmclock 
>> the guest
>> still uses kvm-clock, but it seems bug #584516 is not triggered...
>> thats weird...
>
> I guess that bug was resolved in qemu-kvm.git.  Likely 1a03675db1, but 
> it appears to be part of 0.12 too, so not sure.
>
> What qemu-kvm were you using previously?
>
i'm using qemu-kvm git from today (aa22e82).

bug #585113 seems to be fixed (this was the irq nobody cared error with 
virtio_blk or e1000)
bug #584516 is still there, but if I set - cpu  xxx,-kvmclock it is not 
triggered. the guest
shows current_clocksource = kvm_clock, but migration seems to succeed 
(at least the ~20
times i tested it since you told me about the flag)

do you have a clue what fixed bug #585113. i would like to backport it 
to 0.12.4

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] Re: disable clocksource=kvm-clock
  2010-06-01 14:01     ` Avi Kivity
  2010-06-01 14:06       ` Peter Lieven
@ 2010-06-02  9:58       ` Peter Lieven
  1 sibling, 0 replies; 8+ messages in thread
From: Peter Lieven @ 2010-06-02  9:58 UTC (permalink / raw)
  To: Avi Kivity; +Cc: qemu-devel, kvm

Avi Kivity wrote:
> On 06/01/2010 04:57 PM, Peter Lieven wrote:
>> Avi Kivity wrote:
>>> On 06/01/2010 04:12 PM, Peter Lieven wrote:
>>>> hi,
>>>>
>>>> is it possible to avoid detection of clocksource=kvm_clock in a 
>>>> linux guest by
>>>> patching the qemu-kvm binary?
>>>> i would like to be able to avoid a guest detecting kvm-clock until 
>>>> bug #584516
>>>> is fixed without modifying all guest systems and reverting that later.
>>>>
>>>
>>> Newer qemu-kvm's will have this feature (using -cpu ...,-kvmclock).
>>>
>> with latest git, i can supply this switch, but
>>
>> cat /sys/devices/system/clocksource/clocksource0/current_clocksource
>>
>> still shows kvm_clock in an opensuse 11.2 64-bit or an ubuntu 10.04 
>> 64-bit guest.
>
> Try again with tomorrow's git, I sent out a patchset earlier today 
> that fixes this.
>
i don't see it in the git, do you mean:
[PATCH 0/5] Use more cpuid bits from upstream

thanks,
peter

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-06-02  9:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-01 13:12 [Qemu-devel] disable clocksource=kvm-clock Peter Lieven
2010-06-01 13:17 ` [Qemu-devel] " Avi Kivity
2010-06-01 13:57   ` Peter Lieven
2010-06-01 14:01     ` Avi Kivity
2010-06-01 14:06       ` Peter Lieven
2010-06-01 14:10         ` Avi Kivity
2010-06-01 14:17           ` Peter Lieven
2010-06-02  9:58       ` Peter Lieven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).