When I tried to create a virtual interface using
sudo iw phy `ls /sys/class/ieee80211/` interface add p2p0 type managed
it is showing command failed: Device or resource busy (-16)
. And I tried this too
sudo iw phy phy0 interface add p2p0 type managed addr 12:34:56:78:90:12
it is giving the same output.
This command is tried on Raspberry Pi running on Raspbian stretch. How can I create a Virtual interface?