qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 10/13] Implement early printk in virtio-console


From: Alexander Graf
Subject: Re: [Qemu-devel] [PATCH 10/13] Implement early printk in virtio-console
Date: Tue, 24 Nov 2009 20:27:25 +0100

On 24.11.2009, at 20:25, Anthony Liguori wrote:

> Alexander Graf wrote:
>> On 24.11.2009, at 19:55, Anthony Liguori wrote:
>> 
>>  
>>> Alexander Graf wrote:
>>>    
>>>> On our S390x Virtio machine we don't have anywhere to display early printks
>>>> on, because we don't know about VGA or serial ports.
>>>> 
>>>> So instead we just forward everything to the virtio console that we created
>>>> anyways.
>>>>       
>>> What is this used for?
>>>    
>> 
>> This is used for console output before virtio is initialized. I didn't 
>> invent it - that's the way it's implemented in the s390 kernels today.
>>  
> 
> I don't see any code that calls this function.  Am I missing something 
> obvious?

It gets called from target-s390x/kvm.c using a special hypercall instruction.

Alex



reply via email to

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