Re: [PATCH] include virtualization mode as part of priv

2024-11-29 Thread Yanfeng
On Thu, 2024-11-28 at 10:02 -0300, Daniel Henrique Barboza wrote: > > > On 11/28/24 3:39 AM, Yanfeng wrote: > > On Thu, 2024-11-28 at 14:46 +1000, Alistair Francis wrote: > > > On Thu, Nov 28, 2024 at 2:27 PM Yanfeng wrote: > > > > > > > > On Thu, 2024-11-28 at 14:10 +1000, Alistair Francis wro

Re: [PATCH] include virtualization mode as part of priv

2024-11-28 Thread Daniel Henrique Barboza
On 11/28/24 3:39 AM, Yanfeng wrote: On Thu, 2024-11-28 at 14:46 +1000, Alistair Francis wrote: On Thu, Nov 28, 2024 at 2:27 PM Yanfeng wrote: On Thu, 2024-11-28 at 14:10 +1000, Alistair Francis wrote: On Thu, Nov 28, 2024 at 2:05 PM Yanfeng wrote: Alistair. My initial `git send-email"

Re: [PATCH] include virtualization mode as part of priv

2024-11-27 Thread Yanfeng
On Thu, 2024-11-28 at 14:46 +1000, Alistair Francis wrote: > On Thu, Nov 28, 2024 at 2:27 PM Yanfeng wrote: > > > > On Thu, 2024-11-28 at 14:10 +1000, Alistair Francis wrote: > > > On Thu, Nov 28, 2024 at 2:05 PM Yanfeng wrote: > > > > > > > > Alistair. > > > > > > > > My initial `git send-ema

Re: [PATCH] include virtualization mode as part of priv

2024-11-27 Thread Alistair Francis
On Thu, Nov 28, 2024 at 2:27 PM Yanfeng wrote: > > On Thu, 2024-11-28 at 14:10 +1000, Alistair Francis wrote: > > On Thu, Nov 28, 2024 at 2:05 PM Yanfeng wrote: > > > > > > Alistair. > > > > > > My initial `git send-email" on Ubuntu 22.04 wasn't lukcy: > > > > > > ```shell > > > $ git send-email

Re: [PATCH] include virtualization mode as part of priv

2024-11-27 Thread Yanfeng
On Thu, 2024-11-28 at 14:10 +1000, Alistair Francis wrote: > On Thu, Nov 28, 2024 at 2:05 PM Yanfeng wrote: > > > > Alistair. > > > > My initial `git send-email" on Ubuntu 22.04 wasn't lukcy: > > > > ```shell > > $ git send-email > > git: 'send-email' is not a git command. See 'git --help'. > >

Re: [PATCH] include virtualization mode as part of priv

2024-11-27 Thread Yanfeng
Alistair. My initial `git send-email" on Ubuntu 22.04 wasn't lukcy: ```shell $ git send-email git: 'send-email' is not a git command. See 'git --help'. ``` I need time to find a solution. As for seperate `virt` thing, my concern is that though the V and P status looks orthogonal, they are not

Re: [PATCH] include virtualization mode as part of priv

2024-11-27 Thread Alistair Francis
On Thu, Nov 28, 2024 at 2:05 PM Yanfeng wrote: > > Alistair. > > My initial `git send-email" on Ubuntu 22.04 wasn't lukcy: > > ```shell > $ git send-email > git: 'send-email' is not a git command. See 'git --help'. > ``` > > I need time to find a solution. You will need to install git-send-email

Re: [PATCH] include virtualization mode as part of priv

2024-11-27 Thread Alistair Francis
On Thu, Nov 28, 2024 at 11:43 AM Yanfeng wrote: > > On Thu, 2024-11-28 at 10:39 +1000, Alistair Francis wrote: > > On Thu, Nov 28, 2024 at 12:09 AM Yanfeng wrote: > > > > > > > > > When debugging hypervisor extension based programs, it is convenient to > > > see > > > the > > > current virtualiz

Re: [PATCH] include virtualization mode as part of priv

2024-11-27 Thread Yanfeng
On Thu, 2024-11-28 at 10:39 +1000, Alistair Francis wrote: > On Thu, Nov 28, 2024 at 12:09 AM Yanfeng wrote: > > > > > > When debugging hypervisor extension based programs, it is convenient to see > > the > > current virtualization mode from GDB debugger. > > > > This patch shares the virtualiz

Re: [PATCH] include virtualization mode as part of priv

2024-11-27 Thread Alistair Francis
On Thu, Nov 28, 2024 at 12:09 AM Yanfeng wrote: > > > When debugging hypervisor extension based programs, it is convenient to see > the > current virtualization mode from GDB debugger. > > This patch shares the virtualization mode as part of the existing "priv" > virtual > register, or more spec

[PATCH] include virtualization mode as part of priv

2024-11-27 Thread Yanfeng
When debugging hypervisor extension based programs, it is convenient to see the current virtualization mode from GDB debugger. This patch shares the virtualization mode as part of the existing "priv" virtual register, or more specifically via bit(8). >From 0d82561b11e1c2835f14ba5460cfff52f0087