Re: [PATCH V4 1/6] hw/block/nvme: introduce nvme-subsys device

2021-01-21 Thread Minwoo Im
On 21-01-21 14:52:02, Keith Busch wrote: > On Fri, Jan 22, 2021 at 07:09:03AM +0900, Minwoo Im wrote: > > +static void nvme_subsys_setup(NvmeSubsystem *subsys) > > +{ > > +char *subnqn; > > + > > +subnqn = g_strdup_printf("nqn.2019-08.org.qemu:%s", > > subsys->parent_obj.id); > > +

Re: [PATCH V4 1/6] hw/block/nvme: introduce nvme-subsys device

2021-01-21 Thread Keith Busch
On Fri, Jan 22, 2021 at 07:09:03AM +0900, Minwoo Im wrote: > +static void nvme_subsys_setup(NvmeSubsystem *subsys) > +{ > +char *subnqn; > + > +subnqn = g_strdup_printf("nqn.2019-08.org.qemu:%s", > subsys->parent_obj.id); > +strpadcpy((char *)subsys->subnqn, sizeof(subsys->subnqn),