Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Apr 2024 07:13:26 -0700
From:      Brian Buhrow <buhrow@nfbcal.org>
To:        Roger Pau =?utf-8?B?TW9ubsOp?= <roger.pau@citrix.com>
Cc:        xen@freebsd.org, buhrow@nfbcal.org
Subject:   Re: Freebsd-13.1 as domu cannot use multiple virtual disks
Message-ID:  <202404191413.43JEDRvb001481@nfbcal.org>
In-Reply-To: <ZiJnFg4LGvui87R9@macbook.local>

next in thread | previous in thread | raw e-mail | index | archive | help
	hello Roger.  Again, thank you for the hints.  
In addition to the xvda syntax working, one can also use the hex values for the device numbers,
separated by 16, allowing one to use absolute numbers, rather than remembering letter to number
mappings.  The following syntax, for example, also works.
Note this results in the same probe messages as xvda and xvdb.


disk = [ 
'file:/var/xen/nfbcal/fbsd_dev/disk0,0xca00,rw',
'file:/var/xen/nfbcal/fbsd_dev/disk1,0xca10,rw'
 ]

Probes with:

xbd0: 51200MB <Virtual Block Device> at device/vbd/51712 on xenbusb_front0
xbd0: features: flush, write_barrier
xbd0: synchronize cache commands enabled.
xbd1: 105890MB <Virtual Block Device> at device/vbd/51728 on xenbusb_front0
xbd1: features: flush, write_barrier
xbd1: synchronize cache commands enabled.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404191413.43JEDRvb001481>