All of lore.kernel.org
 help / color / mirror / Atom feed
* use vnc in arm-kvm
@ 2018-05-16  2:24 lizhuoyao
  2018-05-16  9:12 ` Marc Zyngier
  2018-05-16  9:16 ` Laszlo Ersek
  0 siblings, 2 replies; 6+ messages in thread
From: lizhuoyao @ 2018-05-16  2:24 UTC (permalink / raw)
  To: kvmarm


[-- Attachment #1.1: Type: text/plain, Size: 579 bytes --]

hi everyone:
  currently, I meet a problem about qemu.Use virt-install order to create a domain, return a failed:
  order: virt-install -n centos-gg -r 1024 --disk centos-gg.img,format=qcow2,size=10 --cdrom /home/Centos-7-aarch64-Everything.iso --graphics vnc, listen=0.0.0.0
    failed: this QEMU does not support 'cirrus' video device
   This issue only happen in arm,and it's ok in x86. I get some message in the internet that VGA is a (more or less) x86-specific standard, not available on ARM. Right?
tool: qemu-2.12.0 libvirt-3.2.0

   Thanks!

--
Have a good day








[-- Attachment #1.2: Type: text/html, Size: 914 bytes --]

[-- Attachment #2: Type: text/plain, Size: 151 bytes --]

_______________________________________________
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm

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

* Re: use vnc in arm-kvm
  2018-05-16  2:24 use vnc in arm-kvm lizhuoyao
@ 2018-05-16  9:12 ` Marc Zyngier
  2018-05-17  0:58   ` lizhuoyao
  2018-05-16  9:16 ` Laszlo Ersek
  1 sibling, 1 reply; 6+ messages in thread
From: Marc Zyngier @ 2018-05-16  9:12 UTC (permalink / raw)
  To: lizhuoyao, kvmarm

On 16/05/18 03:24, lizhuoyao wrote:
> hi everyone:
>   currently, I meet a problem about qemu.Use virt-install order to
> create a domain, return a failed:
>   order:_virt-install -n centos-gg -r 1024 --disk
> centos-gg.img,format=qcow2,size=10 --cdrom
> /home/Centos-7-aarch64-Everything.iso --graphics vnc, listen=0.0.0.0
> _   failed:_this QEMU does not support 'cirrus' video device__
> _   This issue only happen in arm,and it's ok in x86. I get some message
> in the internet that VGA is a (more or less) x86-specific standard, not
> available on ARM. Right?
> tool: qemu-2.12.0 libvirt-3.2.0__

VGA, or rather the way it is used in the Linux kernel cannot be
realistically supported on ARM at the moment. But if you want a
graphical display, why not using virtio-gpu?

It works well enough for me, although I do not use libvirt, and stick
to just qemu. For the record, this is the relevant section of my command
line:

-device virtio-gpu-pci -display sdl -device virtio-tablet-pci -device
usb-ehci,id=ehci -device usb-kbd

I've just checked with VNC:

-device virtio-gpu-pci -display vnc=127.0.0.1:0,to=100 -device
virtio-tablet-pci -device usb-ehci,id=ehci -device usb-kbd

and although it is much slower (not surprising), it seems to work just
as well.

Hope this helps,

	M.
-- 
Jazz is not dead. It just smells funny...
_______________________________________________
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm

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

* Re: use vnc in arm-kvm
  2018-05-16  2:24 use vnc in arm-kvm lizhuoyao
  2018-05-16  9:12 ` Marc Zyngier
@ 2018-05-16  9:16 ` Laszlo Ersek
  2018-05-17  0:38   ` lizhuoyao
  1 sibling, 1 reply; 6+ messages in thread
From: Laszlo Ersek @ 2018-05-16  9:16 UTC (permalink / raw)
  To: lizhuoyao, kvmarm

On 05/16/18 04:24, lizhuoyao wrote:
> hi everyone:
>   currently, I meet a problem about qemu.Use virt-install order to create a domain, return a failed:
>   order: virt-install -n centos-gg -r 1024 --disk centos-gg.img,format=qcow2,size=10 --cdrom /home/Centos-7-aarch64-Everything.iso --graphics vnc, listen=0.0.0.0
>     failed: this QEMU does not support 'cirrus' video device
>    This issue only happen in arm,and it's ok in x86. I get some message in the internet that VGA is a (more or less) x86-specific standard, not available on ARM. Right?
> tool: qemu-2.12.0 libvirt-3.2.0

Please select the "virtio" video device model.

(Also, the kvmarm list is not appropriate for discussing this; please
use <https://www.redhat.com/mailman/listinfo/virt-tools-list> or
<https://www.redhat.com/mailman/listinfo/libvirt-users> instead.)

Thanks
Laszlo

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

* Re:Re: use vnc in arm-kvm
  2018-05-16  9:16 ` Laszlo Ersek
@ 2018-05-17  0:38   ` lizhuoyao
  0 siblings, 0 replies; 6+ messages in thread
From: lizhuoyao @ 2018-05-17  0:38 UTC (permalink / raw)
  To: Laszlo Ersek; +Cc: kvmarm


[-- Attachment #1.1: Type: text/plain, Size: 1486 bytes --]

select virtio video also failed.
order:virt-install -n centos-gg -r 1024 --disk centos-gg.img,format=qcow2,size=10 --cdrom /home/lzy/CentOs-7-aarch64-Everything.iso --video virtio
 failed: PCI controller at index 1 (0x01) has bus='0x01',but index must be larger than bus.

(I have tryed in other mail list....)


--
 Have a good day


> -----原始邮件-----
> 发件人: Laszlo Ersek <lersek@redhat.com>
> 发送时间: 2018年5月16日 星期三
> 收件人: lizhuoyao <lizhuoyao@hikdata.com>, kvmarm@lists.cs.columbia.edu
> 抄送: 
> 主题: Re: use vnc in arm-kvm
> 
> On 05/16/18 04:24, lizhuoyao wrote:
> > hi everyone:
> >   currently, I meet a problem about qemu.Use virt-install order to create a domain, return a failed:
> >   order: virt-install -n centos-gg -r 1024 --disk centos-gg.img,format=qcow2,size=10 --cdrom /home/Centos-7-aarch64-Everything.iso --graphics vnc, listen=0.0.0.0
> >     failed: this QEMU does not support 'cirrus' video device
> >    This issue only happen in arm,and it's ok in x86. I get some message in the internet that VGA is a (more or less) x86-specific standard, not available on ARM. Right?
> > tool: qemu-2.12.0 libvirt-3.2.0
> 
> Please select the "virtio" video device model.
> 
> (Also, the kvmarm list is not appropriate for discussing this; please
> use <https://www.redhat.com/mailman/listinfo/virt-tools-list> or
> <https://www.redhat.com/mailman/listinfo/libvirt-users> instead.)
> 
> Thanks
> Laszlo




[-- Attachment #1.2: Type: text/html, Size: 1753 bytes --]

[-- Attachment #2: Type: text/plain, Size: 151 bytes --]

_______________________________________________
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm

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

* Re:Re: use vnc in arm-kvm
  2018-05-16  9:12 ` Marc Zyngier
@ 2018-05-17  0:58   ` lizhuoyao
  2018-05-17  7:41     ` Marc Zyngier
  0 siblings, 1 reply; 6+ messages in thread
From: lizhuoyao @ 2018-05-17  0:58 UTC (permalink / raw)
  To: Marc Zyngier; +Cc: kvmarm, shengyizju


[-- Attachment #1.1: Type: text/plain, Size: 2017 bytes --]

you said VGA cannot be realistically supported on ARM at the moment,then wrote it's ok checked with VNC.Did you experiment in x86 or arm?

There is likely no -device(--device) parameter in "virt-install -h". Sorry, I'm not familiar with virt-install much. Can you show the order you use?
Thanks!


--
 Have a good day



 > -----原始邮件-----
> 发件人: Marc Zyngier <marc.zyngier@arm.com>
> 发送时间: 2018年5月16日 星期三
> 收件人: lizhuoyao <lizhuoyao@hikdata.com>, kvmarm@lists.cs.columbia.edu
> 抄送: 
> 主题: Re: use vnc in arm-kvm
> 
> On 16/05/18 03:24, lizhuoyao wrote:
> > hi everyone:
> >   currently, I meet a problem about qemu.Use virt-install order to
> > create a domain, return a failed:
> >   order:_virt-install -n centos-gg -r 1024 --disk
> > centos-gg.img,format=qcow2,size=10 --cdrom
> > /home/Centos-7-aarch64-Everything.iso --graphics vnc, listen=0.0.0.0
> > _   failed:_this QEMU does not support 'cirrus' video device__
> > _   This issue only happen in arm,and it's ok in x86. I get some message
> > in the internet that VGA is a (more or less) x86-specific standard, not
> > available on ARM. Right?
> > tool: qemu-2.12.0 libvirt-3.2.0__
> 
> VGA, or rather the way it is used in the Linux kernel cannot be
> realistically supported on ARM at the moment. But if you want a
> graphical display, why not using virtio-gpu?
> 
> It works well enough for me, although I do not use libvirt, and stick
> to just qemu. For the record, this is the relevant section of my command
> line:
> 
> -device virtio-gpu-pci -display sdl -device virtio-tablet-pci -device
> usb-ehci,id=ehci -device usb-kbd
> 
> I've just checked with VNC:
> 
> -device virtio-gpu-pci -display vnc=127.0.0.1:0,to=100 -device
> virtio-tablet-pci -device usb-ehci,id=ehci -device usb-kbd
> 
> and although it is much slower (not surprising), it seems to work just
> as well.
> 
> Hope this helps,
> 
> 	M.
> -- 
> Jazz is not dead. It just smells funny...




[-- Attachment #1.2: Type: text/html, Size: 2371 bytes --]

[-- Attachment #2: Type: text/plain, Size: 151 bytes --]

_______________________________________________
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm

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

* Re: use vnc in arm-kvm
  2018-05-17  0:58   ` lizhuoyao
@ 2018-05-17  7:41     ` Marc Zyngier
  0 siblings, 0 replies; 6+ messages in thread
From: Marc Zyngier @ 2018-05-17  7:41 UTC (permalink / raw)
  To: lizhuoyao; +Cc: kvmarm, shengyizju

On 17/05/18 01:58, lizhuoyao wrote:
> you said VGA cannot be realistically supported on ARM at the moment,then
> wrote it's ok checked with VNC.Did you experiment in x86 or arm?

What would be the point in trying an x86 box, as we both know that it
works? I checked using virtio-gpu, on an arm64 machine (rk3399 based
chromebook). Not x86, not VGA.

> There is likely no -device(--device) parameter in "virt-install -h".
> Sorry, I'm not familiar with virt-install much. Can you show the order
> you use?

OK, you simply haven't read my email. I said:

>> It works well enough for me, although I do not use libvirt, and
>> stick to just qemu. For the record, this is the relevant section of
>> my command line:

To repeat: I don't use libvirt, but QEMU directly. If you have libvirt
questions, please do as Laszlo suggested and ask the question on the
libvirt mailing list.

	M.
-- 
Jazz is not dead. It just smells funny...

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

end of thread, other threads:[~2018-05-17  7:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-16  2:24 use vnc in arm-kvm lizhuoyao
2018-05-16  9:12 ` Marc Zyngier
2018-05-17  0:58   ` lizhuoyao
2018-05-17  7:41     ` Marc Zyngier
2018-05-16  9:16 ` Laszlo Ersek
2018-05-17  0:38   ` lizhuoyao

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.