Re: [PATCH v2 1/2] hw/nvme: add support for boot partiotions

2021-06-03 Thread Stefan Hajnoczi
On Thu, Jun 03, 2021 at 12:04:06PM +0200, Klaus Jensen wrote: > On Jun 3 10:48, Stefan Hajnoczi wrote: > > On Tue, Jun 01, 2021 at 08:07:48PM +0530, Gollu Appalanaidu wrote: > > > @@ -5546,6 +5665,47 @@ static void nvme_write_bar(NvmeCtrl *n, hwaddr > > > offset, uint64_t data, > > > NVM

Re: [PATCH v2 1/2] hw/nvme: add support for boot partiotions

2021-06-03 Thread Klaus Jensen
On Jun 3 10:48, Stefan Hajnoczi wrote: On Tue, Jun 01, 2021 at 08:07:48PM +0530, Gollu Appalanaidu wrote: @@ -5546,6 +5665,47 @@ static void nvme_write_bar(NvmeCtrl *n, hwaddr offset, uint64_t data, NVME_GUEST_ERR(pci_nvme_ub_mmiowr_cmbsz_readonly, "invalid wri

Re: [PATCH v2 1/2] hw/nvme: add support for boot partiotions

2021-06-03 Thread Stefan Hajnoczi
On Tue, Jun 01, 2021 at 08:07:48PM +0530, Gollu Appalanaidu wrote: > @@ -5546,6 +5665,47 @@ static void nvme_write_bar(NvmeCtrl *n, hwaddr offset, > uint64_t data, > NVME_GUEST_ERR(pci_nvme_ub_mmiowr_cmbsz_readonly, > "invalid write to read only CMBSZ, ignored"); >

Re: [PATCH v2 1/2] hw/nvme: add support for boot partiotions

2021-06-01 Thread Keith Busch
On Tue, Jun 01, 2021 at 09:07:56PM +0200, Klaus Jensen wrote: > On Jun 1 11:07, Keith Busch wrote: > > On Tue, Jun 01, 2021 at 07:41:34PM +0200, Klaus Jensen wrote: > > > On Jun 1 10:19, Keith Busch wrote: > > > > On Tue, Jun 01, 2021 at 08:07:48PM +0530, Gollu Appalanaidu wrote: > > > > > NVMe B

Re: [PATCH v2 1/2] hw/nvme: add support for boot partiotions

2021-06-01 Thread Klaus Jensen
On Jun 1 11:07, Keith Busch wrote: On Tue, Jun 01, 2021 at 07:41:34PM +0200, Klaus Jensen wrote: On Jun 1 10:19, Keith Busch wrote: > On Tue, Jun 01, 2021 at 08:07:48PM +0530, Gollu Appalanaidu wrote: > > NVMe Boot Partitions provides an area that may be read by the host > > without initializi

Re: [PATCH v2 1/2] hw/nvme: add support for boot partiotions

2021-06-01 Thread Keith Busch
On Tue, Jun 01, 2021 at 07:41:34PM +0200, Klaus Jensen wrote: > On Jun 1 10:19, Keith Busch wrote: > > On Tue, Jun 01, 2021 at 08:07:48PM +0530, Gollu Appalanaidu wrote: > > > NVMe Boot Partitions provides an area that may be read by the host > > > without initializing queues or even enabling the

Re: [PATCH v2 1/2] hw/nvme: add support for boot partiotions

2021-06-01 Thread Klaus Jensen
On Jun 1 19:41, Klaus Jensen wrote: On Jun 1 10:19, Keith Busch wrote: On Tue, Jun 01, 2021 at 08:07:48PM +0530, Gollu Appalanaidu wrote: NVMe Boot Partitions provides an area that may be read by the host without initializing queues or even enabling the controller. This allows various platfor

Re: [PATCH v2 1/2] hw/nvme: add support for boot partiotions

2021-06-01 Thread Klaus Jensen
On Jun 1 10:19, Keith Busch wrote: On Tue, Jun 01, 2021 at 08:07:48PM +0530, Gollu Appalanaidu wrote: NVMe Boot Partitions provides an area that may be read by the host without initializing queues or even enabling the controller. This allows various platform initialization code to be stored on

Re: [PATCH v2 1/2] hw/nvme: add support for boot partiotions

2021-06-01 Thread Keith Busch
On Tue, Jun 01, 2021 at 08:07:48PM +0530, Gollu Appalanaidu wrote: > NVMe Boot Partitions provides an area that may be read by the host > without initializing queues or even enabling the controller. This > allows various platform initialization code to be stored on the NVMe > device instead of some