Different keymaps in the consoles of vms, the bad one has, for example, '&' mapped to '/' and '/' mapped to '-'
-
XCP-ng 7.6
We have two CentOS 7 vms running on the same host. Qemu commands are almost the same:
6 S 65546 14161 14134 1 80 0 - 46957 poll_s 16:57 ? 00:00:35 qemu-dm-11 -machine pc-0.10,accel=xen,max-ram-below-4g=4026531840,allow-unassigned=true,trad_compat=true -vnc unix:/var/run/xen/vnc-11,lock-key-sync=off -incoming fd:4 -monitor null -xen-domid 11 -m size=1024 -boot order=cdn -usb -device usb-tablet,port=2 -smp 1,maxcpus=24 -serial pty -display none -nodefaults -trace enable=xen_platform_log -sandbox on,obsolete=deny,elevateprivileges=allow,spawn=deny,resourcecontrol=deny -S -global PIIX4_PM.revision_id=0x1 -global ide-hd.ver=0.10.2 -global piix3-ide-xen.subvendor_id=0x5853 -global piix3-ide-xen.subsystem_id=0x0001 -global piix3-usb-uhci.subvendor_id=0x5853 -global piix3-usb-uhci.subsystem_id=0x0001 -global rtl8139.subvendor_id=0x5853 -global rtl8139.subsystem_id=0x0001 -parallel null -qmp unix:/var/run/xen/qmp-libxl-11,server,nowait -qmp unix:/var/run/xen/qmp-event-11,server,nowait -device xen-platform,addr=3,device-id=0x0001,revision=0x2,class-id=0x0100,subvendor_id=0x5853,subsystem_id=0x0001 -drive file=,if=ide,index=1,media=cdrom,force-lba=off -drive file=/dev/sm/backend/f6a05383-96e4-91ea-9bca-b6aa96d95919/2089fe0e-5b64-4220-97ef-e91809bcef55,if=ide,index=0,media=disk,force-lba=on,format=raw -device rtl8139,netdev=tapnet0,mac=3a:11:65:47:d7:83,addr=4 -netdev tap,id=tapnet0,fd=7 -device cirrus-vga,vgamem_mb=8,rombar=1,romfile=,subvendor_id=0x5853,subsystem_id=0x0001,addr=2 -vnc-clipboard-socket-fd 6 -xen-domid-restrict -chroot /var/xen/qemu/root-11 -runas 65546.1006 4 S root 32475 1 0 80 0 - 4200 pipe_w 17:29 ? 00:00:00 logger -p daemon.info -t qemu-dm-13[32499] 6 S 65548 32499 32475 3 80 0 - 45677 poll_s 17:29 ? 00:00:25 qemu-dm-13 -machine pc-0.10,accel=xen,max-ram-below-4g=4026531840,allow-unassigned=true,trad_compat=true -vnc unix:/var/run/xen/vnc-13,lock-key-sync=off -incoming fd:4 -monitor null -xen-domid 13 -m size=1024 -boot order=cdn -usb -device usb-tablet,port=2 -smp 1,maxcpus=24 -serial pty -display none -nodefaults -trace enable=xen_platform_log -sandbox on,obsolete=deny,elevateprivileges=allow,spawn=deny,resourcecontrol=deny -S -global PIIX4_PM.revision_id=0x1 -global ide-hd.ver=0.10.2 -global piix3-ide-xen.subvendor_id=0x5853 -global piix3-ide-xen.subsystem_id=0x0001 -global piix3-usb-uhci.subvendor_id=0x5853 -global piix3-usb-uhci.subsystem_id=0x0001 -global rtl8139.subvendor_id=0x5853 -global rtl8139.subsystem_id=0x0001 -parallel null -qmp unix:/var/run/xen/qmp-libxl-13,server,nowait -qmp unix:/var/run/xen/qmp-event-13,server,nowait -device xen-platform,addr=3,device-id=0x0001,revision=0x2,class-id=0x0100,subvendor_id=0x5853,subsystem_id=0x0001 -drive file=,if=ide,index=1,media=cdrom,force-lba=off -drive file=/dev/sm/backend/f6a05383-96e4-91ea-9bca-b6aa96d95919/720d227c-2b2e-4e8b-b598-eb0878db5bb9,if=ide,index=0,media=disk,force-lba=on,format=raw -device rtl8139,netdev=tapnet0,mac=ea:33:87:06:64:8a,addr=4 -netdev tap,id=tapnet0,fd=7 -device cirrus-vga,vgamem_mb=8,rombar=1,romfile=,subvendor_id=0x5853,subsystem_id=0x0001,addr=2 -vnc-clipboard-socket-fd 6 -xen-domid-restrict -chroot /var/xen/qemu/root-13 -runas 65548.1008
But one of it has a normal keymap in the console. Another gets a strange one, for example '&' mapped to '/' and '/' mapped to '-'.
Any one met the same issue?
-
If commands are the same but mapping different, it's due to your VM configuration (keyboard mapping)
-
@olivierlambert That's true...