Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Virtual PC

Vista - multibyte nops

Reply
 
Old 09-08-2008   #1 (permalink)
David Sanders


 
 

multibyte nops

Virtual PC 2007 does not allow guest operating systems to use multibyte
NOPs (0x0f 0x1f). Modern compilers and operating systems are starting
to use these NOPs as an optimization. We really need Virtual PC to
support this.
David

My System SpecsSystem Spec
Old 09-08-2008   #2 (permalink)
Benjamin Armstrong [MSFT]


 
 

Re: multibyte nops

Hi David,

I seem to remember this issue - but did not know of any guest OS that
actually used this instruction. What are you running in a VM to hit this?

Cheers,
Benjamin Armstrong
============================
Windows Virtualization Program Manager
Blog: http://blogs.msdn.com/Virtual_PC_Guy
Book: http://tinyurl.com/ysxcbm

This posting is provided "AS IS" with no warranties, and confers no
rights. You assume all risk for your use.

David Sanders wrote:
Quote:

> Virtual PC 2007 does not allow guest operating systems to use multibyte
> NOPs (0x0f 0x1f). Modern compilers and operating systems are starting
> to use these NOPs as an optimization. We really need Virtual PC to
> support this.
> David
My System SpecsSystem Spec
Old 09-08-2008   #3 (permalink)
David Sanders


 
 

Re: multibyte nops

Benjamin Armstrong [MSFT] wrote:
Quote:

> I seem to remember this issue - but did not know of any guest OS that
> actually used this instruction. What are you running in a VM to hit this?
Linux kernels 2.6.24 - 2.6.26 include this code depending on the options
you select when you build it.

Recent versions of the gnu assembler (like in Fedora 9) will generate
such code if the target is 686 or later and you use -mtune=x.

I have been in a heated discussion on the linux-kernel mailing list
about this and I think it will be fixed for 2.6.27 and later kernels.

On certain kernels you can get around the issue by a kernel boot-time
parameter (noreplace-paravirt) since the offending code is usually in
the Paravirtualization stuff. But on other kernels you can't boot at
all because of using the multibyte nops in other places.

It is important to fix it now before use of the multibyte nops becomes
too widespread.

David
My System SpecsSystem Spec
Old 09-12-2008   #4 (permalink)
Benjamin Armstrong [MSFT]


 
 

Re: multibyte nops

I have been out of the office - but just came back to find that the VPC
team was aware of this and is currently investigating the best way to
address it. Thanks for the heads up though.

Cheers,
Benjamin Armstrong
============================
Windows Virtualization Program Manager
Blog: http://blogs.msdn.com/Virtual_PC_Guy
Book: http://tinyurl.com/ysxcbm

This posting is provided "AS IS" with no warranties, and confers no
rights. You assume all risk for your use.

David Sanders wrote:
Quote:

> Benjamin Armstrong [MSFT] wrote:
Quote:

>> I seem to remember this issue - but did not know of any guest OS that
>> actually used this instruction. What are you running in a VM to hit
>> this?
>
> Linux kernels 2.6.24 - 2.6.26 include this code depending on the options
> you select when you build it.
>
> Recent versions of the gnu assembler (like in Fedora 9) will generate
> such code if the target is 686 or later and you use -mtune=x.
>
> I have been in a heated discussion on the linux-kernel mailing list
> about this and I think it will be fixed for 2.6.27 and later kernels.
>
> On certain kernels you can get around the issue by a kernel boot-time
> parameter (noreplace-paravirt) since the offending code is usually in
> the Paravirtualization stuff. But on other kernels you can't boot at
> all because of using the multibyte nops in other places.
>
> It is important to fix it now before use of the multibyte nops becomes
> too widespread.
>
> David
My System SpecsSystem Spec
Old 09-12-2008   #5 (permalink)
David Sanders


 
 

Re: multibyte nops

Benjamin Armstrong [MSFT] wrote:
Quote:

> I have been out of the office - but just came back to find that the VPC
> team was aware of this and is currently investigating the best way to
> address it. Thanks for the heads up though.
Thanks.
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
MultiByte character problem PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46