All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 1872644] [NEW] MacOS host qemu-system-x86_64 -cpu host not working
@ 2020-04-14  7:19 JS
  2020-05-12 22:23 ` [Bug 1872644] " Roman Bolshakov
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: JS @ 2020-04-14  7:19 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

MacOS: 10.15.4
uname -a: Linux door 4.15.0-96-generic #97-Ubuntu SMP Wed Apr 1 03:25:46 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

I am using qemu on mac host, with ubuntu client.

I used to have "-cpu host" in my qemu command as follow:-

qemu-system-x86_64 \
-no-user-config \
-nodefaults \
-name u64d01 \
-show-cursor \
-M q35,accel=hvf,usb=off,vmport=off \
-cpu host \
-m 8192M \
-smp 4 \
-rtc base=utc,clock=host \
-device virtio-blk-pci,drive=ssd1 \
-drive id=ssd1,file=/Users/js/code/vm/qemu/u64d01.qcow2,if=none,format=qcow2 \
-device virtio-net-pci,netdev=nic1,mac=52:54:98:76:54:33 \
-netdev user,id=nic1,ipv4=on,ipv6=on,hostname=u64d01,hostfwd=tcp::2222-:22 \
-device virtio-tablet-pci \
-device virtio-vga \
-device ich9-intel-hda,id=snd,msi=on \
-device hda-output,id=snd-codec0,bus=snd.0,cad=0,audiodev=snd0 \
-audiodev coreaudio,id=snd0

Base on log of one of the vm, it was definitely working on
2020-01-17(base on journal inside vm), with qemu 4.2.0, which I
installed with brew.

The only way to make it work is to remove "-cpu host".

Already tried with 4.1.1, 4.2 and 5.0rc2. Same result.

To reproduce, try above with a Ubuntu 18.04 installation cd. Client will
crash during kernel loading.

** Affects: qemu
     Importance: Undecided
         Status: New

** Attachment added: "kernel_boot_crash.txt"
   https://bugs.launchpad.net/bugs/1872644/+attachment/5353690/+files/kernel_boot_crash.txt

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1872644

Title:
  MacOS host qemu-system-x86_64 -cpu host not working

Status in QEMU:
  New

Bug description:
  MacOS: 10.15.4
  uname -a: Linux door 4.15.0-96-generic #97-Ubuntu SMP Wed Apr 1 03:25:46 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

  I am using qemu on mac host, with ubuntu client.

  I used to have "-cpu host" in my qemu command as follow:-

  qemu-system-x86_64 \
  -no-user-config \
  -nodefaults \
  -name u64d01 \
  -show-cursor \
  -M q35,accel=hvf,usb=off,vmport=off \
  -cpu host \
  -m 8192M \
  -smp 4 \
  -rtc base=utc,clock=host \
  -device virtio-blk-pci,drive=ssd1 \
  -drive id=ssd1,file=/Users/js/code/vm/qemu/u64d01.qcow2,if=none,format=qcow2 \
  -device virtio-net-pci,netdev=nic1,mac=52:54:98:76:54:33 \
  -netdev user,id=nic1,ipv4=on,ipv6=on,hostname=u64d01,hostfwd=tcp::2222-:22 \
  -device virtio-tablet-pci \
  -device virtio-vga \
  -device ich9-intel-hda,id=snd,msi=on \
  -device hda-output,id=snd-codec0,bus=snd.0,cad=0,audiodev=snd0 \
  -audiodev coreaudio,id=snd0

  Base on log of one of the vm, it was definitely working on
  2020-01-17(base on journal inside vm), with qemu 4.2.0, which I
  installed with brew.

  The only way to make it work is to remove "-cpu host".

  Already tried with 4.1.1, 4.2 and 5.0rc2. Same result.

  To reproduce, try above with a Ubuntu 18.04 installation cd. Client
  will crash during kernel loading.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1872644/+subscriptions


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

* [Bug 1872644] Re: MacOS host qemu-system-x86_64 -cpu host not working
  2020-04-14  7:19 [Bug 1872644] [NEW] MacOS host qemu-system-x86_64 -cpu host not working JS
@ 2020-05-12 22:23 ` Roman Bolshakov
  2021-01-20  8:39 ` Sitsofe Wheeler
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Roman Bolshakov @ 2020-05-12 22:23 UTC (permalink / raw)
  To: qemu-devel

** Tags added: hvf

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1872644

Title:
  MacOS host qemu-system-x86_64 -cpu host not working

Status in QEMU:
  New

Bug description:
  MacOS: 10.15.4
  uname -a: Linux door 4.15.0-96-generic #97-Ubuntu SMP Wed Apr 1 03:25:46 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

  I am using qemu on mac host, with ubuntu client.

  I used to have "-cpu host" in my qemu command as follow:-

  qemu-system-x86_64 \
  -no-user-config \
  -nodefaults \
  -name u64d01 \
  -show-cursor \
  -M q35,accel=hvf,usb=off,vmport=off \
  -cpu host \
  -m 8192M \
  -smp 4 \
  -rtc base=utc,clock=host \
  -device virtio-blk-pci,drive=ssd1 \
  -drive id=ssd1,file=/Users/js/code/vm/qemu/u64d01.qcow2,if=none,format=qcow2 \
  -device virtio-net-pci,netdev=nic1,mac=52:54:98:76:54:33 \
  -netdev user,id=nic1,ipv4=on,ipv6=on,hostname=u64d01,hostfwd=tcp::2222-:22 \
  -device virtio-tablet-pci \
  -device virtio-vga \
  -device ich9-intel-hda,id=snd,msi=on \
  -device hda-output,id=snd-codec0,bus=snd.0,cad=0,audiodev=snd0 \
  -audiodev coreaudio,id=snd0

  Base on log of one of the vm, it was definitely working on
  2020-01-17(base on journal inside vm), with qemu 4.2.0, which I
  installed with brew.

  The only way to make it work is to remove "-cpu host".

  Already tried with 4.1.1, 4.2 and 5.0rc2. Same result.

  To reproduce, try above with a Ubuntu 18.04 installation cd. Client
  will crash during kernel loading.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1872644/+subscriptions


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

* [Bug 1872644] Re: MacOS host qemu-system-x86_64 -cpu host not working
  2020-04-14  7:19 [Bug 1872644] [NEW] MacOS host qemu-system-x86_64 -cpu host not working JS
  2020-05-12 22:23 ` [Bug 1872644] " Roman Bolshakov
@ 2021-01-20  8:39 ` Sitsofe Wheeler
  2021-05-06  7:25 ` Thomas Huth
  2021-07-06  4:17 ` Launchpad Bug Tracker
  3 siblings, 0 replies; 5+ messages in thread
From: Sitsofe Wheeler @ 2021-01-20  8:39 UTC (permalink / raw)
  To: qemu-devel

I found that things were unstable unless the following were also added
-cpu Nehalem,-rdtscp
(the CPU can be higher than Nehalem but obviously your host CPU actually has to be equal or greater too)

-rdtscp is a known issue that has since been workedaround (see bug
#1894836 ).

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1872644

Title:
  MacOS host qemu-system-x86_64 -cpu host not working

Status in QEMU:
  New

Bug description:
  MacOS: 10.15.4
  uname -a: Linux door 4.15.0-96-generic #97-Ubuntu SMP Wed Apr 1 03:25:46 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

  I am using qemu on mac host, with ubuntu client.

  I used to have "-cpu host" in my qemu command as follow:-

  qemu-system-x86_64 \
  -no-user-config \
  -nodefaults \
  -name u64d01 \
  -show-cursor \
  -M q35,accel=hvf,usb=off,vmport=off \
  -cpu host \
  -m 8192M \
  -smp 4 \
  -rtc base=utc,clock=host \
  -device virtio-blk-pci,drive=ssd1 \
  -drive id=ssd1,file=/Users/js/code/vm/qemu/u64d01.qcow2,if=none,format=qcow2 \
  -device virtio-net-pci,netdev=nic1,mac=52:54:98:76:54:33 \
  -netdev user,id=nic1,ipv4=on,ipv6=on,hostname=u64d01,hostfwd=tcp::2222-:22 \
  -device virtio-tablet-pci \
  -device virtio-vga \
  -device ich9-intel-hda,id=snd,msi=on \
  -device hda-output,id=snd-codec0,bus=snd.0,cad=0,audiodev=snd0 \
  -audiodev coreaudio,id=snd0

  Base on log of one of the vm, it was definitely working on
  2020-01-17(base on journal inside vm), with qemu 4.2.0, which I
  installed with brew.

  The only way to make it work is to remove "-cpu host".

  Already tried with 4.1.1, 4.2 and 5.0rc2. Same result.

  To reproduce, try above with a Ubuntu 18.04 installation cd. Client
  will crash during kernel loading.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1872644/+subscriptions


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

* [Bug 1872644] Re: MacOS host qemu-system-x86_64 -cpu host not working
  2020-04-14  7:19 [Bug 1872644] [NEW] MacOS host qemu-system-x86_64 -cpu host not working JS
  2020-05-12 22:23 ` [Bug 1872644] " Roman Bolshakov
  2021-01-20  8:39 ` Sitsofe Wheeler
@ 2021-05-06  7:25 ` Thomas Huth
  2021-07-06  4:17 ` Launchpad Bug Tracker
  3 siblings, 0 replies; 5+ messages in thread
From: Thomas Huth @ 2021-05-06  7:25 UTC (permalink / raw)
  To: qemu-devel

The QEMU project is currently moving its bug tracking to another system.
For this we need to know which bugs are still valid and which could be
closed already. Thus we are setting older bugs to "Incomplete" now.

If you still think this bug report here is valid, then please switch
the state back to "New" within the next 60 days, otherwise this report
will be marked as "Expired". Or please mark it as "Fix Released" if
the problem has been solved with a newer version of QEMU already.

Thank you and sorry for the inconvenience.


** Tags added: macos

** Changed in: qemu
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1872644

Title:
  MacOS host qemu-system-x86_64 -cpu host not working

Status in QEMU:
  Incomplete

Bug description:
  MacOS: 10.15.4
  uname -a: Linux door 4.15.0-96-generic #97-Ubuntu SMP Wed Apr 1 03:25:46 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

  I am using qemu on mac host, with ubuntu client.

  I used to have "-cpu host" in my qemu command as follow:-

  qemu-system-x86_64 \
  -no-user-config \
  -nodefaults \
  -name u64d01 \
  -show-cursor \
  -M q35,accel=hvf,usb=off,vmport=off \
  -cpu host \
  -m 8192M \
  -smp 4 \
  -rtc base=utc,clock=host \
  -device virtio-blk-pci,drive=ssd1 \
  -drive id=ssd1,file=/Users/js/code/vm/qemu/u64d01.qcow2,if=none,format=qcow2 \
  -device virtio-net-pci,netdev=nic1,mac=52:54:98:76:54:33 \
  -netdev user,id=nic1,ipv4=on,ipv6=on,hostname=u64d01,hostfwd=tcp::2222-:22 \
  -device virtio-tablet-pci \
  -device virtio-vga \
  -device ich9-intel-hda,id=snd,msi=on \
  -device hda-output,id=snd-codec0,bus=snd.0,cad=0,audiodev=snd0 \
  -audiodev coreaudio,id=snd0

  Base on log of one of the vm, it was definitely working on
  2020-01-17(base on journal inside vm), with qemu 4.2.0, which I
  installed with brew.

  The only way to make it work is to remove "-cpu host".

  Already tried with 4.1.1, 4.2 and 5.0rc2. Same result.

  To reproduce, try above with a Ubuntu 18.04 installation cd. Client
  will crash during kernel loading.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1872644/+subscriptions


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

* [Bug 1872644] Re: MacOS host qemu-system-x86_64 -cpu host not working
  2020-04-14  7:19 [Bug 1872644] [NEW] MacOS host qemu-system-x86_64 -cpu host not working JS
                   ` (2 preceding siblings ...)
  2021-05-06  7:25 ` Thomas Huth
@ 2021-07-06  4:17 ` Launchpad Bug Tracker
  3 siblings, 0 replies; 5+ messages in thread
From: Launchpad Bug Tracker @ 2021-07-06  4:17 UTC (permalink / raw)
  To: qemu-devel

[Expired for QEMU because there has been no activity for 60 days.]

** Changed in: qemu
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1872644

Title:
  MacOS host qemu-system-x86_64 -cpu host not working

Status in QEMU:
  Expired

Bug description:
  MacOS: 10.15.4
  uname -a: Linux door 4.15.0-96-generic #97-Ubuntu SMP Wed Apr 1 03:25:46 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

  I am using qemu on mac host, with ubuntu client.

  I used to have "-cpu host" in my qemu command as follow:-

  qemu-system-x86_64 \
  -no-user-config \
  -nodefaults \
  -name u64d01 \
  -show-cursor \
  -M q35,accel=hvf,usb=off,vmport=off \
  -cpu host \
  -m 8192M \
  -smp 4 \
  -rtc base=utc,clock=host \
  -device virtio-blk-pci,drive=ssd1 \
  -drive id=ssd1,file=/Users/js/code/vm/qemu/u64d01.qcow2,if=none,format=qcow2 \
  -device virtio-net-pci,netdev=nic1,mac=52:54:98:76:54:33 \
  -netdev user,id=nic1,ipv4=on,ipv6=on,hostname=u64d01,hostfwd=tcp::2222-:22 \
  -device virtio-tablet-pci \
  -device virtio-vga \
  -device ich9-intel-hda,id=snd,msi=on \
  -device hda-output,id=snd-codec0,bus=snd.0,cad=0,audiodev=snd0 \
  -audiodev coreaudio,id=snd0

  Base on log of one of the vm, it was definitely working on
  2020-01-17(base on journal inside vm), with qemu 4.2.0, which I
  installed with brew.

  The only way to make it work is to remove "-cpu host".

  Already tried with 4.1.1, 4.2 and 5.0rc2. Same result.

  To reproduce, try above with a Ubuntu 18.04 installation cd. Client
  will crash during kernel loading.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1872644/+subscriptions


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

end of thread, other threads:[~2021-07-06  4:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-14  7:19 [Bug 1872644] [NEW] MacOS host qemu-system-x86_64 -cpu host not working JS
2020-05-12 22:23 ` [Bug 1872644] " Roman Bolshakov
2021-01-20  8:39 ` Sitsofe Wheeler
2021-05-06  7:25 ` Thomas Huth
2021-07-06  4:17 ` Launchpad Bug Tracker

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.