freebsd-dev/usr.sbin/bhyve
Chuck Tuffli a0900f46d1 bhyve: implement NVMe Format NVM command
The Format NVM command mainly allows the host to specify the block size
and protection information used for the Namespace. As the bhyve
implementation simply maps the capabilities of the backing storage
through to the guest, there isn't anything to implement. But a side
effect of the format is the NVMe Controller shall not return any data
previously written (i.e. erase previously written data). This patch
implements this later behavior to provide a compliant implementation.

Fixes UNH Test 1.6

Tested by:	Jason Tubnor
MFC after:	2 weeks
Differential Revision: https://reviews.freebsd.org/D24889
2020-06-29 00:31:47 +00:00
..
acpi.c bhyve(8): Add VM Generation Counter ACPI device 2020-04-15 02:00:17 +00:00
acpi.h bhyve(8): Add VM Generation Counter ACPI device 2020-04-15 02:00:17 +00:00
ahci.h
atkbdc.c Initial support for bhyve save and restore. 2020-05-05 00:02:04 +00:00
atkbdc.h Initial support for bhyve save and restore. 2020-05-05 00:02:04 +00:00
audio.c bhyve: add wrapper for debug printf statements 2020-01-08 22:55:22 +00:00
audio.h Add SPDX tags to bhyve(8) HD Audio device. 2019-06-25 06:24:56 +00:00
bhyve.8 bhyve: allow for automatic destruction on power-off 2020-06-25 12:35:20 +00:00
bhyvegc.c
bhyvegc.h
bhyverun.c bhyve: allow for automatic destruction on power-off 2020-06-25 12:35:20 +00:00
bhyverun.h Initial support for bhyve save and restore. 2020-05-05 00:02:04 +00:00
block_if.c Initial support for bhyve save and restore. 2020-05-05 00:02:04 +00:00
block_if.h Initial support for bhyve save and restore. 2020-05-05 00:02:04 +00:00
bootrom.c bhyve(8): Add bootrom allocation abstraction 2020-04-15 01:58:51 +00:00
bootrom.h bhyve(8): Add bootrom allocation abstraction 2020-04-15 01:58:51 +00:00
console.c
console.h
consport.c bhyve: add wrapper for debug printf statements 2020-01-08 22:55:22 +00:00
dbgport.c
dbgport.h
debug.h bhyve: add wrapper for debug printf statements 2020-01-08 22:55:22 +00:00
fwctl.c
fwctl.h
gdb.c Support software breakpoints in the debug server on Intel CPUs. 2019-12-13 19:21:58 +00:00
gdb.h Support software breakpoints in the debug server on Intel CPUs. 2019-12-13 19:21:58 +00:00
hda_codec.c bhyve: add wrapper for debug printf statements 2020-01-08 22:55:22 +00:00
hda_reg.h Add SPDX tags to bhyve(8) HD Audio device. 2019-06-25 06:24:56 +00:00
hdac_reg.h Add SPDX tags to bhyve(8) HD Audio device. 2019-06-25 06:24:56 +00:00
inout.c
inout.h
ioapic.c
ioapic.h
iov.c bhyve: enable virtio-net mergeable rx buffers for tap(4) 2020-02-20 21:07:23 +00:00
iov.h bhyve: enable virtio-net mergeable rx buffers for tap(4) 2020-02-20 21:07:23 +00:00
kernemu_dev.c vmm(4), bhyve(8): Expose kernel-emulated special devices to userspace 2020-05-15 15:54:22 +00:00
kernemu_dev.h vmm(4), bhyve(8): Expose kernel-emulated special devices to userspace 2020-05-15 15:54:22 +00:00
Makefile vmm(4), bhyve(8): Expose kernel-emulated special devices to userspace 2020-05-15 15:54:22 +00:00
Makefile.depend Initial support for bhyve save and restore. 2020-05-05 00:02:04 +00:00
Makefile.depend.options Add Makefile.depend.options 2019-12-11 17:37:37 +00:00
mem.c
mem.h
mevent_test.c
mevent.c Initial support for bhyve save and restore. 2020-05-05 00:02:04 +00:00
mevent.h bhyve: add backend rx backpressure to virtio-net 2019-11-03 19:02:32 +00:00
mptbl.c bhyve: add wrapper for debug printf statements 2020-01-08 22:55:22 +00:00
mptbl.h
net_backends.c bhyve: Fix processing of netgraph backend options. 2020-05-15 11:03:27 +00:00
net_backends.h bhyve: Pass the full string of options to the network backends. 2020-05-08 17:15:54 +00:00
net_utils.c Add VIRTIO_NET_F_MTU flag support for the bhyve virtio-net device. 2020-04-07 17:06:33 +00:00
net_utils.h Add VIRTIO_NET_F_MTU flag support for the bhyve virtio-net device. 2020-04-07 17:06:33 +00:00
pci_ahci.c Initial support for bhyve save and restore. 2020-05-05 00:02:04 +00:00
pci_e82545.c bhyve: Pass the full string of options to the network backends. 2020-05-08 17:15:54 +00:00
pci_emul.c Fix pci-passthru MSI issues with OpenBSD guests 2020-05-25 06:25:31 +00:00
pci_emul.h Fix pci-passthru MSI issues with OpenBSD guests 2020-05-25 06:25:31 +00:00
pci_fbuf.c Initial support for bhyve save and restore. 2020-05-05 00:02:04 +00:00
pci_hda.c bhyve: add wrapper for debug printf statements 2020-01-08 22:55:22 +00:00
pci_hda.h bhyve: add wrapper for debug printf statements 2020-01-08 22:55:22 +00:00
pci_hostbridge.c
pci_irq.c
pci_irq.h
pci_lpc.c Initial support for bhyve save and restore. 2020-05-05 00:02:04 +00:00
pci_lpc.h
pci_nvme.c bhyve: implement NVMe Format NVM command 2020-06-29 00:31:47 +00:00
pci_passthru.c Fix pci-passthru MSI issues with OpenBSD guests 2020-05-25 06:25:31 +00:00
pci_uart.c bhyve: add wrapper for debug printf statements 2020-01-08 22:55:22 +00:00
pci_virtio_block.c Initial support for bhyve save and restore. 2020-05-05 00:02:04 +00:00
pci_virtio_console.c bhyve: add wrapper for debug printf statements 2020-01-08 22:55:22 +00:00
pci_virtio_net.c bhyve: Pass the full string of options to the network backends. 2020-05-08 17:15:54 +00:00
pci_virtio_rnd.c bhyve: add wrapper for debug printf statements 2020-01-08 22:55:22 +00:00
pci_virtio_scsi.c bhyve: add wrapper for debug printf statements 2020-01-08 22:55:22 +00:00
pci_xhci.c Prevent calling USB backends multiple times. 2020-06-26 08:20:38 +00:00
pci_xhci.h
pm.c bhyve(8): Add VM Generation Counter ACPI device 2020-04-15 02:00:17 +00:00
post.c
ps2kbd.c Initial support for bhyve save and restore. 2020-05-05 00:02:04 +00:00
ps2kbd.h Initial support for bhyve save and restore. 2020-05-05 00:02:04 +00:00
ps2mouse.c Initial support for bhyve save and restore. 2020-05-05 00:02:04 +00:00
ps2mouse.h Initial support for bhyve save and restore. 2020-05-05 00:02:04 +00:00
rfb.c Bhyve: log message when rfb client connects 2020-03-18 03:17:15 +00:00
rfb.h
rtc.c
rtc.h
smbiostbl.c In the past changes have been made to smbios->minor without updating the 2020-04-07 23:17:44 +00:00
smbiostbl.h
snapshot.c Initial support for bhyve save and restore. 2020-05-05 00:02:04 +00:00
snapshot.h Initial support for bhyve save and restore. 2020-05-05 00:02:04 +00:00
sockstream.c
sockstream.h
spinup_ap.c
spinup_ap.h
task_switch.c bhyve: add wrapper for debug printf statements 2020-01-08 22:55:22 +00:00
uart_emul.c Initial support for bhyve save and restore. 2020-05-05 00:02:04 +00:00
uart_emul.h Initial support for bhyve save and restore. 2020-05-05 00:02:04 +00:00
usb_emul.c
usb_emul.h Initial support for bhyve save and restore. 2020-05-05 00:02:04 +00:00
usb_mouse.c Prevent calling USB backends multiple times. 2020-06-26 08:20:38 +00:00
vga.c
vga.h
virtio.c Initial support for bhyve save and restore. 2020-05-05 00:02:04 +00:00
virtio.h Initial support for bhyve save and restore. 2020-05-05 00:02:04 +00:00
vmgenc.c bhyve(8): Correct copyright boilerplate for r359950 2020-04-15 05:55:14 +00:00
vmgenc.h bhyve(8): Correct copyright boilerplate for r359950 2020-04-15 05:55:14 +00:00
xmsr.c bhyve, bhyvectl: Add Hygon Dhyana support. 2020-02-13 19:05:14 +00:00
xmsr.h